[FIXED] dynamic mode unrecognised when everlasting nodes

Once it's running
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
paul
Posts:31
Joined:31 Mar 2010 08:44
[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 mode unrecognised when everlasting nodes

Post by paul » 01 Apr 2010 18:04

Hi there,

I wrote my own python code to generate a GEXF dynamic graph (will release code as soon as I know it's working).
But my graph isn't recognize as dynamic although the mode="dynamic" is present in graph tag.

So here was my question :
what are all the conditions for a graph to be recognized as dynamic ?

I tried several tricks (adding dynamic node attributes, use the dynamic edges from example http://gexf.net/data/dynamics.gexf) and finally discovered that you have to have at least one node with a starting date precised (all my node were everlasting).

mmm is that a good thing ?


Paul

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 mode unrecognised when everlasting nodes

Post by admin » 01 Apr 2010 20:18

Please post a sample of the generated file: mode="dynamic" should be enough.

paul
Posts:31
Joined:31 Mar 2010 08:44
[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 mode unrecognised when everlasting nodes

Post by paul » 02 Apr 2010 09:23

Ok so I think I find a bug.

To reproduce it.
  • - Take the file dynamics.gexf from gexf.net
    - open it with gephi and check it is well recognized as dynamic

    - then edit it and remove only the start="2009-03-01" from node id=0

    Code: Select all

    <nodes>
          <node id="0" label="Gephi" start="2009-03-01">
    becomes

    Code: Select all

    <nodes>
          <node id="0" label="Gephi" >
    - open it again with gephi and see that it is recognized as static
Can someone confirm this ?
Should I post this bug somewhere ?

Paul

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 mode unrecognised when everlasting nodes

Post by admin » 02 Apr 2010 10:04

This is a bug. You can report it on Launchpad.

This behavior occurs because dynamic attributes are not supported yet, and will be added this summer.

paul
Posts:31
Joined:31 Mar 2010 08:44
[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 mode unrecognised when everlasting nodes

Post by paul » 05 Apr 2010 11:39

Ok bug posted to launchpad : https://bugs.launchpad.net/gephi/+bug/555637

P

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