Definition Type: Element
Name: graph
Namespace: http://graphml.graphdrawing.org/xmlns
Type: g:graph.type
Containing Schema: graphml-structure.xsd
Abstract
Documentation:
Description: Describes one graph in this document. Occurence: <graphml>, <node>, <edge>, <hyperedge>.
Collapse XSD Schema Diagram:
Drilldown into locator in schema graphml-structure_xsd Drilldown into hyperedge in schema graphml-structure_xsd Drilldown into edge in schema graphml-structure_xsd Drilldown into node in schema graphml-structure_xsd Drilldown into data in schema graphml-structure_xsd Drilldown into desc in schema graphml-structure_xsd Drilldown into edgedefault in schema graphml-structure_xsd Drilldown into id in schema graphml-structure_xsd Drilldown into common.extra.attrib in schema graphml-structure_xsd Drilldown into graph.extra.attrib in schema graphml-structure_xsd Drilldown into graph.type in schema graphml-structure_xsdXSD Diagram of graph in schema graphml-structure_xsd (GraphML)
Collapse XSD Schema Code:
<xs:element name="graph" type="graph.type" block="#all">
    <xs:annotation>
        <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
          Description: Describes one graph in this document.
          Occurence: &lt;graphml&gt;, &lt;node&gt;, &lt;edge&gt;, &lt;hyperedge&gt;.
      </xs:documentation>
    </xs:annotation>
    <xs:unique name="graph_data_key_unique">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: uniqueness of the key attributes of &lt;data&gt; children
                 of this &lt;graph&gt; element.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath="./g:data" />
        <xs:field xpath="@key" />
    </xs:unique>
    <xs:key name="node_id_key">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: existence and uniqueness of the id attributes of 
                 each &lt;node&gt; element in this graph.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:node" />
        <xs:field xpath="@id" />
    </xs:key>
    <xs:unique name="edge_id_unique">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: uniqueness of the id attributes of 
                 each &lt;edge&gt; element in this graph.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:edge" />
        <xs:field xpath="@id" />
    </xs:unique>
    <xs:unique name="hyperedge_id_unique">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: uniqueness of the id attributes of 
                 each &lt;hyperedge&gt; element in this graph.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:hyperedge" />
        <xs:field xpath="@id" />
    </xs:unique>
    <xs:unique name="endpoint_id_unique">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: uniqueness of the id attributes of 
                 each &lt;endpoint&gt; element in this graph.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:endpoint" />
        <xs:field xpath="@id" />
    </xs:unique>
    <xs:keyref name="edge_source_ref" refer="node_id_key">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: for the source attribute of each &lt;edge&gt; in this graph, 
                 the existence of an id attribute of 
                 &lt;node&gt; which matches the value of it. 
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:edge" />
        <xs:field xpath="@source" />
    </xs:keyref>
    <xs:keyref name="edge_target_ref" refer="node_id_key">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: for the target attribute of each &lt;edge&gt; in this graph, 
                 the existence of an id attribute of 
                 &lt;node&gt; which matches the value of it. 
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:edge" />
        <xs:field xpath="@target" />
    </xs:keyref>
    <xs:keyref name="endpoint_node_ref" refer="node_id_key">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: for the node attribute of each &lt;endpoint&gt; in this graph,
                 the existence of an id attribute of 
                 &lt;node&gt; which matches the value of it. 
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:endpoint" />
        <xs:field xpath="@node" />
    </xs:keyref>
</xs:element>
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
parse.nodeids g:parse.nodeids (Optional)
parse.edgeids g:parse.edgeids (Optional)
parse.order g:parse.order (Optional)
parse.nodes g:parse.nodes (Optional)
parse.edges g:parse.edges (Optional)
parse.maxindegree g:parse.maxindegree Optional
parse.maxoutdegree g:parse.maxoutdegree Optional
id g:id (Optional)
edgedefault g:edgedefault Required
Collapse Derivation Tree: