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 file-name="graphs/bgcolor" rankdir="LR" bgcolor="#80FF80">
  
<node id="a"/>
<cluster id="c1" bgcolor="#FF8080">
  
<node id="b"/>
<node id="c"/>
<edge from="b" to="c"/>
</cluster>
<edge from="a" to="b"/>
</graph>
Sponsored links

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