<xs:complexType name="cluster-or-graph">
<xs:annotation>
<xs:documentation>The base class for clusters and graphs.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:choice>
<xs:element name="node" type="dotml:node">
<xs:annotation>
<xs:documentation>A single node.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="cluster" type="dotml:cluster">
<xs:annotation>
<xs:documentation>A rectangular cluster of nodes.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="sub-graph" type="dotml:sub-graph">
<xs:annotation>
<xs:documentation>A group of nodes with rank constraints.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="record" type="dotml:record-node">
<xs:annotation>
<xs:documentation>A record node.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="edge" type="dotml:edge">
<xs:annotation>
<xs:documentation>An edge.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="bgcolor" type="dotml:color"/>
<xs:attributeGroup ref="dotml:font-attributes"/>
<xs:attribute name="label" type="xs:string"/>
</xs:complexType> |