[FIXED] Dynamic time slices

Evolution and dynamics on networks in Gephi: UI, data formats, algorithms...
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
cmagnien
Posts:2
Joined:02 Aug 2010 15:31
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[FIXED] Dynamic time slices

Post by cmagnien » 03 Aug 2010 15:14

Hello,

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>
Nodes 0 and 1 behave as I expected with respect to the dynamic timeline (node 0 is always there, and node 1 appears at 2004), but node 2 is always there, whereas I want it not to be there between 2004 and 2007.
In the data laboratory, no dynamic range is assigned to it. Did I misunderstand how slices work, or make a mistake in the file?

admin
Gephi Community Manager
Posts:964
Joined:09 Dec 2009 14:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Dynamic time slices

Post by admin » 03 Aug 2010 18:17

Hi Clémence,

You understand perfectly how it should work, however the slices are not supported yet in Gephi as this is a very late addition to the file format. They will be supported in Gephi 0.8, and are already available for testing in the trunk.

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable