DataFormats»Graph XML

Graph XML

supports hierarhical graph definitions? Some dynamics (edge additions and deletions)

Specification:

http://ftp.cwi.nl/CWIreports/INS/INS-R0009.pdf

Author

  • I. Herman, M.S. Marshall

Short Example


<?xml version="1.0"?>
<!DOCTYPE GraphXML SYSTEM "file:GraphXML.dtd">
<GraphXML>
  <graph id="levelOne-1">
    <node name="first"/>
    <node name="second"/>
    <edge source="first" target="second"/>
  </graph>
  <graph id="levelOne-2">
    <node name="third"/>
    <node name="fourth"/>
    <edge source="third " target="fourth"/>
  </graph>
  <graph id="levelTwo">
    <node isMetanode="true" name="cluster1" xlink:href="#levelOne-1"/>
    <node isMetanode="true" name="cluster2" xlink:href="#levelOne-2"/>
    <edge source="cluster1" target="cluster2"/>
  </graph>
</GraphXML>