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:
<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="" version="1.2">
    <graph mode="static" defaultedgetype="directed">
            <node id="0" label="Hello" />
            <node id="1" label="Word" />
            <edge id="0" source="0" target="1" />

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