Attribute "id"

Use:required
Used by:cluster, node
Description:A unique identifier for a node or a cluster.

Node ids are referenced by the edge attributes from and to, cluster ids by ltail and lhead.

If for a node the attribute label is not defined, the value of the attribute is used.
Values:Strings [A-Z,a-z,0-9,.,_]+
Default Value:""
Sponsored links:

Example 1/1:
Source code:
<graph file-name="graphs/id">
  
<node id="a"/>
<cluster id="b" label="b">
  
<node id="c1" label="c"/>
<node id="c2" label="c"/>
</cluster>
<edge from="a" to="c1"/>
<edge from="a" to="c2" lhead="b"/>
</graph>
Sponsored links

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