graphviz icon indicating copy to clipboard operation
graphviz copied to clipboard

lightgreen fill of a node will resolve as a black RGB values

Open disleyland opened this issue 1 year ago • 2 comments

seems to be a bug in converting some color names into RGB values. lightgreen for instance.

dot`digraph { rankdir = RL; x [style=filled, color=lightgreen] ; x -> y -> z; }`

not a problem with the actual Graphviz library but this port. :(

disleyland avatar Nov 10 '24 23:11 disleyland

For what it’s worth, this isn’t reproducible in Framework, which automatically uses the latest version of @viz-js/viz.

Image

mbostock avatar Nov 11 '24 00:11 mbostock

Turns out it one of chstgpts goto colours when it generates diagrams which is how i stumbled onto this!

disleyland avatar Nov 11 '24 08:11 disleyland