I want to implement a dynamic graph in which nodes and edges can appear and disappear several times (appear then disappear then come back, etc.)
If I understand correctly, I must use slices in my gexf file.
I wrote the following test graph:
Code: Select all
<gexf xmlns="http://www.gexf.net/1.1draft" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.1draft http://www.gexf.net/1.1draft/gexf.xsd" version="1.1">
<graph mode="dynamic" timetype="float" defaultedgetype="directed" start="2003.0" end="2009.0">
<nodes>
<node id="0" label="0" start="2003.0">
</node>
<node id="1" label="1" start="2004.0" end="2009.0">
</node>
<node id="2" label="2">
<slices>
<slice start="2003.0" end="2004.0"/>
<slice start="2007.0" end="2009.0"/>
</slices>
</node>
</nodes>
</graph>
</gexf>
In the data laboratory, no dynamic range is assigned to it. Did I misunderstand how slices work, or make a mistake in the file?