[solved] How to use fillcolor attribute?

Hello
I don’t understand how to use thé “fillcolor” attribute.

graph {
   a [fillcolor=red fontcolor=yellow]
}

[dot]
graph {
a [fillcolor=red fontcolor=yellow]
}
[/dot]

Add style=filled in your list of attributes.

Thanks!

graph {
   a [style=filled fillcolor=red fontcolor=yellow]
}

[dot]
graph {
a [style=filled fillcolor=red fontcolor=yellow]
}
[/dot]

1 Like