[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 •[SOLVED] Spells: nodes that appear and disappear
Page 1 of 1

[SOLVED] Spells: nodes that appear and disappear

Posted: 10 May 2011 13:28
by L.J.
Good morning,

Today I'm struggling with dynamic graphs. For scientific purposes I need to create a movie (such as those beautiful movies that you upload at vimeo).

Some nodes of my dynamic gexf appear and disappear more than once trough time, so I know by reading the gexf primer documentation that I have to use "spells" instead of using regular start and end.

I have wrote a gexf with spells accordingly to the documentation, but it doesn't works as it is supposed to work. Node "3" have to appear in t=200, disappear in t=250, and appear again in t=400. But instead of that, node "3" is there from the beginning.

Here I paste the example gexf. WHAT I'M DOING WRONG?

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns:viz="http:///www.gexf.net/1.1draft/viz" version="1.1" xmlns="http://www.gexf.net/1.1draft">
<meta lastmodifieddate="2011-04-07 15:22:57">
        <creator>Gephi 0.7</creator>
</meta>
<graph type="dynamic"  start="0" end="500">
<nodes count="3">
<node id="1" label="1" start="0" end="300">
	<viz:size value="10.0"/>
	<viz:color b="0" g="0" r="0"/>
	<viz:position x="0.0" y="0.0" z="0.0"/>
</node>
<node id="2" label="2" start="0">
	<viz:size value="10.0"/>
	<viz:color b="0" g="0" r="0"/>
	<viz:position x="0.0" y="0.0" z="0.0"/>
</node>
<node id="3" label="3">
<spells>
        <spell start="200" end="250"/>
        <spell start="400" end="500"/>
</spells>
</node>
</nodes>

</graph>
</gexf> 

Thanks for your help!
LJ.

Re: Spells: nodes that appear and disappear

Posted: 10 May 2011 14:17
by admin
Hi,

Your GEXF need to be declared following the 1.2draft specification. Instead of:

Code: Select all

<gexf xmlns:viz="http://www.gexf.net/1.1draft/viz" version="1.1" xmlns="http://www.gexf.net/1.1draft"> ...
Use:

Code: Select all

<gexf xmlns:viz="http://www.gexf.net/1.2draft/viz" version="1.2" xmlns="http://www.gexf.net/1.2draft"> ...
Does it solve the issue?

Re: Spells: nodes that appear and disappear

Posted: 11 May 2011 10:34
by L.J.
Changing that line didn't solve the problem. But I could solve it just by using gephi 0.8 alpha instead of gephi 0.7 beta.

While using the 0.7 version none of the 1.1 or 1.2 draft specifications worked.
Fortunately the 0.8 version supported both draft specifications.

Thanks a lot!!!