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