graph.type

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

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
edgedefault graph.edgedefault.type required
http://graphml.graphdrawing.org/
describes whether edges of this graph are considered
as directed or undirected per default (unless 
specified by the attribute directed of <edge>).
id xs:NMTOKEN optional
http://graphml.graphdrawing.org/
identifies this graph .
parse.edgeids graph.edgeids.type optional
parse.edges graph.edges.type optional
parse.maxindegree graph.maxindegree.type optional
parse.maxoutdegree graph.maxoutdegree.type optional
parse.nodeids graph.nodeids.type optional
parse.nodes graph.nodes.type optional
parse.order graph.order.type optional

Used By

Element graph

Source

<xs:complexType name="graph.type" final="#all">
  <xs:annotation>
    <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">Complex type for the <graph> 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 <graph> 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 <edge>).</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>