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

Documentation
Description: In GraphML there may be data-functions attached to graphs, nodes, ports, edges, hyperedges and endpoint and to the whole collection of graphs described by the content of <graphml>. These functions are declared by <key> elements (children of <graphml>) and defined by <data> elements. Occurence: <graphml>, <graph>, <node>, <port>, <edge>, <hyperedge>, and <endpoint>. Ensures: uniqueness of the key attributes of <data> children of this <data> element.
Properties
This component is not nillable.

Model
<data
  id = xs:NMTOKEN
  key = xs:NMTOKEN>

</data>


Attribute Summary
 xs:NMTOKENid
          identifies this <data>.  
 xs:NMTOKENkey
          refers to the id attribute of a <key>.  

Attribute Detail

id

identifies this <data>.

Type:
xs:NMTOKEN
Use:
optional
Form:
unqualified

key

refers to the id attribute of a <key>.

Type:
xs:NMTOKEN
Use:
required
Form:
unqualified

Source
<xs:element block="#all" name="data" type="data.type">
<xs:unique name="data_data_key_unique">
<xs:selector xpath="./g:data"/>
<xs:field xpath="@key"/>
</xs:unique>
</xs:element>


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