[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •[FIXED] Dynamic time slices
Page 1 of 1

[FIXED] Dynamic time slices

Posted: 03 Aug 2010 15:14
by cmagnien
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?

Re: Dynamic time slices

Posted: 03 Aug 2010 18:17
by admin
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.