Definition Type: ComplexType
Name: graph.type
Namespace: http://graphml.graphdrawing.org/xmlns
Containing Schema: graphml-structure.xsd
Abstract False
Documentation:
Complex type for the <graph> element.
Collapse XSD Schema Diagram:
Drilldown into edgedefault Drilldown into id Drilldown into common.extra.attrib Drilldown into graph.extra.attrib Drilldown into locator Drilldown into hyperedge Drilldown into edge Drilldown into node Drilldown into data Drilldown into descXSD Diagram of graph.type
Collapse XSD Schema Code:
<?xml version="1.0" encoding="utf-16"?>
<xs:complexType name="graph.type" final="#all">
    <xs:annotation>
        <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
      Complex type for the &lt;graph&gt; element.
    </xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element ref="desc" minOccurs="0" />
        <xs:choice>
            <xs:sequence>
                <xs:choice minOccurs="0" maxOccurs="unbounded">
                    <xs:element ref="data" />
                    <xs:element ref="node" />
                    <xs:element ref="edge" />
                    <xs:element ref="hyperedge" />
                </xs:choice>
            </xs:sequence>
            <xs:element ref="locator" />
        </xs:choice>
    </xs:sequence>
    <xs:attributeGroup ref="graph.extra.attrib">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
                user defined extra attributes for &lt;graph&gt; elements.
          </xs:documentation>
        </xs:annotation>
    </xs:attributeGroup>
    <xs:attribute name="id" type="xs:NMTOKEN">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
                  identifies this graph .
          </xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="edgedefault" type="graph.edgedefault.type" use="required">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
                        describes whether edges of this graph are considered
                        as directed or undirected per default (unless 
                        specified by the attribute directed of &lt;edge&gt;).
          </xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
desc g:desc 0 (1)
data g:data (1) (1)
node g:node (1) (1)
edge g:edge (1) (1)
hyperedge g:hyperedge (1) (1)
locator g:locator (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
id g:id (Optional)
edgedefault g:edgedefault Required
Collapse Derivation Tree:
Collapse References:
g:graph