http://graphml.graphdrawing.org/xmlns/graphml
element edge

Documentation
Description: Describes an edge in the <graph> which contains this <edge>. Occurence: <graph>. Ensures: uniqueness of the key attributes of <data> children of this <edge> element.
Properties
This component is not nillable.

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


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:element block="#all" name="edge" type="edge.type">
<xs:unique name="edge_data_key_unique">
<xs:selector xpath="./g:data"/>
<xs:field xpath="@key"/>
</xs:unique>
</xs:element>


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