Attribute "bgcolor"

Use:optional
Used by:graph, cluster
Description:When attached to the root graph, this color is used as the background for entire canvas. For a cluster, it is used as the initial background for the cluster. If a cluster has a filled style, the cluster's fillcolor will overlay the background color.
Values:#000000 .. #FFFFFF (rgb)
Default Value:#FFFFFF
Sponsored links:

Example 1/1:
Source code:
'
(graph ((rankdir "LR") (bgcolor "#80FF80"))
 
(node ((id "a")))
(cluster ((id "c1") (bgcolor "#FF8080"))
 
(node ((id "b")))
(node ((id "c")))
(edge ((from "b") (to "c"))))
(edge ((from "a") (to "b"))))
Sponsored links

 Copyright 2006-2010 by Martin Loetzsch (http://martin-loetzsch.de), all rights reserved. See the S-Dot licence for details.