Definition Type: Element
Name: graphml
Namespace: http://graphml.graphdrawing.org/xmlns
Type: g:graphml.type
Containing Schema: graphml-structure.xsd
Abstract False
Documentation:
Description: <graphml> is the root element of each GraphML 
           document.
Occurence: root.
Collapse XSD Schema Diagram:
Drilldown into common.extra.attrib Drilldown into graphml.extra.attrib Drilldown into data Drilldown into graph Drilldown into key Drilldown into desc Drilldown into graphml.typeXSD Diagram of graphml
Collapse XSD Schema Code:
<?xml version="1.0" encoding="utf-16"?>
<xs:element name="graphml" type="graphml.type" block="#all">
    <xs:annotation>
        <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
           Description: &lt;graphml&gt; is the root element of each GraphML 
                      document.
           Occurence: root. 
      </xs:documentation>
    </xs:annotation>
    <xs:unique name="graphml_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;graphml&gt; element.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath="./g:data" />
        <xs:field xpath="@key" />
    </xs:unique>
    <xs:key name="key_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;key&gt; element in this document.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:key" />
        <xs:field xpath="@id" />
    </xs:key>
    <xs:unique name="graph_id_unique">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: uniqueness of the id attributes of 
                 each &lt;graph&gt; element in this document.
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:graph" />
        <xs:field xpath="@id" />
    </xs:unique>
    <xs:keyref name="data_key_ref" refer="key_id_key">
        <xs:annotation>
            <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
        Ensures: for the key attribute of each &lt;data&gt; in this document, 
                 the existence of an id attribute of 
                 &lt;key&gt; which matches the value of it. 
      </xs:documentation>
        </xs:annotation>
        <xs:selector xpath=".//g:data" />
        <xs:field xpath="@key" />
    </xs:keyref>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
desc g:desc 0 (1)
key g:key 0 unbounded
graph g:graph (1) (1)
data g:data (1) (1)
Collapse Derivation Tree: