key.type

http://graphml.graphdrawing.org/
Complex type for the <key> element.

Complex Type Information

Model

Children: default, desc

Attributes

QName Type Fixed Default Use Inheritable Annotation
attr.name key.name.type optional
attr.type key.type.type optional
dynamic xs:boolean false optional
for key.for.type all optional
http://graphml.graphdrawing.org/
describes the domain of definition for 
the corresponding graph attribute.
id xs:NMTOKEN required
http://graphml.graphdrawing.org/
identifies this <key>.

Used By

Element key

Source

<xs:complexType name="key.type" final="#all">
  <xs:annotation>
    <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">Complex type for the <key> 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 <key>.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="dynamic" type="xs:boolean" default="false">
    <xs:annotation>
      <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">
      </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 <key> elements.</xs:documentation>
    </xs:annotation>
  </xs:attributeGroup>
</xs:complexType>