I need help with formatting a dot graph. To simplify my question, I have a dot code here which I run through a dot tool:
digraph G
{
TestNode [label="Test Node", shape="egg" style="filled" color="yellow"]
}
results in this:
I want to have a black outline to this node. How can I do that?
Using fillcolor
together with color
does achieve what you're after:
TestNode [label="Test Node", shape="egg", style="filled", color="black", fillcolor="yellow"]
From the documentation:
Color used to fill the background of a node or cluster assuming style=filled. If fillcolor is not defined, color is used.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With