Closed n8gray closed 4 years ago
Hi Nathan,
thank you for your interest.
here is how you can change the colors used:
config.json
into n8gray.config
n8gray.config
find section "colors", there you will find colors used and their "translation"protodot
with you configuration, e.g.
protodot -config n8gray.config -src source.proto -output resulting.dotwhen it comes to the names of the colors (used in the config.json
), they are referring to names used in:
https://www.graphviz.org/doc/info/colors.html
if you see something like "greys9:5" - it means color scheme "greys9" (see the link above) and color of index "5" in that scheme.
hope this helps
=)
This project is really awesome, but I'd like to change the colors to something a bit easier to read. In config.json there are a bunch of colors listed, but I have no idea where the listed colors come from or how to specify new colors by hex value. I tried "#8888ff" and "8888ff", but neither way worked. Any documentation or advice would be appreciated. Thanks!