Vertex coloring

How can I use custom colors for some vertices or a global color for all vertices? I have wrote

digraph {
1 [label=“memcpy”, fillcolor=red]


But it seems that it doesn’t working.

I think you need style=filled says fillcolor is “Color used to fill the background of a node or cluster assuming style=filled, or a filled arrowhead.”
digraph {
1 [label=“memcpy” fillcolor=red style=filled];

works for me

1 Like