Element "graph"

Parents:no parents.
Child elements:cluster, sub-graph, node, record, edge
Description:The root element of a 'dot' graph. Contains general layout attributes.
Attributes:bgcolor, file-name (required), fontcolor, fontname, fontsize, label, margin, nodesep, rankdir, ranksep, ratio, size
Sponsored links:

Example 1/1:
Source code:
<graph file-name="graphs/graph" label="nice graph" fontcolor="#0000A0" fontname="Arial" ranksep="0.2" nodesep="0.5" bgcolor="#F0F0FF" fontsize="13">
<node id="n1" label="node" style="filled" fillcolor="#FFFFFF"/>
<cluster id="c1" label="cluster" fontname="cluster" style="dotted" fillcolor="#FFFFFF">
<node id="n2" label="node" style="filled" fillcolor="#FFFFFF"/>
<node id="n3" label="node" style="filled" fillcolor="#FFFFFF"/>
<edge from="n2" to="n3" label="edge" fontname="Arial"/>
<record fontname="Courier" style="dashed" fillcolor="#FFFFFF">
<node id="r1" label="record"/>
<node id="r2" label="record"/>
<node id="n4" label="node" shape="box" style="filled" fillcolor="#FFFFFF"/>
<edge from="n1" to="r1" label="edge" fontname="Arial"/>
<edge from="n2" to="n1" label="edge" fontname="Arial"/>
<edge from="n3" to="r2" ltail="c1" label="edge" fontname="Arial"/>
<edge from="r2" to="n4" label="edge" fontname="Arial"/>
<edge from="n1" to="n4" label="edge" fontname="Arial"/>
Sponsored links

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