http://graphml.graphdrawing.org/xmlns/graphml
complexType edge.type

Super Types
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{http://graphml.graphdrawing.org/xmlns/graphml}edge.type (restriction)

Documentation
Complex type for the <edge> element. user defined extra attributes for <edge> elements.
Properties
This component is not nillable.

Model
<...
  directed = xs:boolean
  id = xs:NMTOKEN
  source = xs:NMTOKEN
  sourceport = xs:NMTOKEN
  target = xs:NMTOKEN
  targetport = xs:NMTOKEN>
(desc?, data*, graph? )
</...>


Nested Element Summary
 data
          
 desc
          
 graph
          

Attribute Summary
 xs:booleandirected
           overwrites the edgedefault attribute of <graph> .  
 xs:NMTOKENid
           identifies this edge .  
 xs:NMTOKENsource
           points to the id attribute of the source <node>.  
 xs:NMTOKENsourceport
           points to the name attribute of the source <port>.  
 xs:NMTOKENtarget
           points to the id attribute of the target <node>.  
 xs:NMTOKENtargetport
           points to the name attribute of the target <port>.  

Attribute Detail

directed

overwrites the edgedefault attribute of <graph> .

Type:
xs:boolean
Use:
optional
Form:
unqualified

id

identifies this edge .

Type:
xs:NMTOKEN
Use:
optional
Form:
unqualified

source

points to the id attribute of the source <node>.

Type:
xs:NMTOKEN
Use:
required
Form:
unqualified

sourceport

points to the name attribute of the source <port>.

Type:
xs:NMTOKEN
Use:
optional
Form:
unqualified

target

points to the id attribute of the target <node>.

Type:
xs:NMTOKEN
Use:
required
Form:
unqualified

targetport

points to the name attribute of the target <port>.

Type:
xs:NMTOKEN
Use:
optional
Form:
unqualified

Source
<xs:complexType final="#all" name="edge.type">
<xs:sequence>
<xs:element minOccurs="0" ref="desc"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="data"/>
<xs:element minOccurs="0" ref="graph"/>
</xs:sequence>
<xs:attributeGroup ref="edge.extra.attrib">
</xs:attributeGroup>
<xs:attribute name="id" type="xs:NMTOKEN">
</xs:attribute>
<xs:attribute name="directed" type="xs:boolean">
</xs:attribute>
<xs:attribute name="source" type="xs:NMTOKEN" use="required">
</xs:attribute>
<xs:attribute name="target" type="xs:NMTOKEN" use="required">
</xs:attribute>
<xs:attribute name="sourceport" type="xs:NMTOKEN">
</xs:attribute>
<xs:attribute name="targetport" type="xs:NMTOKEN">
</xs:attribute>
</xs:complexType>


© Copyright 2000-2009, yWorks GmbH. All rights reserved.