edge.type

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

Complex Type Information

Model

Children: data, desc, graph

Attributes

QName Type Fixed Default Use Inheritable Annotation
directed xs:boolean optional
http://graphml.graphdrawing.org/
overwrites the edgedefault attribute of <graph> .
id xs:NMTOKEN optional
http://graphml.graphdrawing.org/
identifies this edge .
source xs:NMTOKEN required
http://graphml.graphdrawing.org/
points to the id attribute of the source <node>.
sourceport xs:NMTOKEN optional
http://graphml.graphdrawing.org/
points to the name attribute of the source <port>.
target xs:NMTOKEN required
http://graphml.graphdrawing.org/
points to the id attribute of the target <node>.
targetport xs:NMTOKEN optional
http://graphml.graphdrawing.org/
points to the name attribute of the target <port>.

Used By

Element edge

Source

<xs:complexType name="edge.type" final="#all">
  <xs:annotation>
    <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">Complex type for the <edge> element.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:element ref="desc" minOccurs="0"/>
    <xs:element ref="data" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="graph" minOccurs="0"/>
  </xs:sequence>
  <xs:attributeGroup ref="edge.extra.attrib">
    <xs:annotation>
      <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">user defined extra attributes for <edge> 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 edge .</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="directed" type="xs:boolean">
    <xs:annotation>
      <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">overwrites the edgedefault attribute of <graph> .</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="source" type="xs:NMTOKEN" use="required">
    <xs:annotation>
      <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">points to the id attribute of the source <node>.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="target" type="xs:NMTOKEN" use="required">
    <xs:annotation>
      <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">points to the id attribute of the target <node>.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="sourceport" type="xs:NMTOKEN">
    <xs:annotation>
      <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">points to the name attribute of the source <port>.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="targetport" type="xs:NMTOKEN">
    <xs:annotation>
      <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">points to the name attribute of the target <port>.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
</xs:complexType>