http://graphml.graphdrawing.org/
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>. |
QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
---|---|---|---|---|---|---|---|
id | xs:NMTOKEN | optional |
http://graphml.graphdrawing.org/
|
||||
key | xs:NMTOKEN | required |
http://graphml.graphdrawing.org/
|
||||
time | xs:long | 0 | optional |
Complex Types | edge.type, graph.type, graphml.type, hyperedge.type, node.type, port.type |
<xs:element name="data" type="data.type" block="#all"> <xs:annotation> <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">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>.</xs:documentation> </xs:annotation> <xs:unique name="data_data_key_unique"> <xs:annotation> <xs:documentation source="http://graphml.graphdrawing.org/" xml:lang="en">Ensures: uniqueness of the key attributes of <data> children of this <data> element.</xs:documentation> </xs:annotation> <xs:selector xpath="./g:data"/> <xs:field xpath="@key"/> <xs:field xpath="@time"/> </xs:unique> </xs:element> |
< node xmlns = "http://graphml.graphdrawing.org/xmlns/1.0rc" id = "n0" > |
< data key = "k0" > |
A |
</ data> |
< data key = "k1" > |
62.6202 |
</ data> |
< data key = "k2" > |
410.914 |
</ data> |
</ node> |