Basic topology

A GEXF file aims to represent one and only one graph.

This is a minimal file for a static graph containing 2 nodes and 1 edge between them:

http://gexf.net/data/basic.gexf
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.2" version="1.2">
    <graph mode="static" defaultedgetype="directed">
        <nodes>
            <node id="0" label="Hello" />
            <node id="1" label="Word" />
        </nodes>
        <edges>
            <edge id="0" source="0" target="1" />
        </edges>
    </graph>
</gexf>

See how to add data to your graphs in the next example.