[SOLVED] Importing .gexf file issues

Get help with your data
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
ieeamo
Posts:6
Joined:20 May 2011 17:54
[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
[SOLVED] Importing .gexf file issues

Post by ieeamo » 19 Oct 2011 16:21

Hi,

I am trying to import a simple dynamic graph, and am having some difficulty understanding why the edge dynamics (i.e. start time and end time) are not loading correctly in gephi. Am I doing something incorrectly?


Thanks,
ieeamo
______

Code: Select all

graph defaultedgetype="undirected" mode="static">
    <attributes class="edge" mode="dynamic">
      <attribute id="4" title="start" type="integer" />
      <attribute id="5" title="end" type="integer" />
    </attributes>
...
...
...
...
<edges>
      <edge id="0" source="Eamonn" target="Luke">
        <attvalues>
          <attvalue for="4" value="14" />
          <attvalue for="5" value="19" />
        </attvalues>
      </edge>
Import Dialog:

Image

'Data Lab" > Edge View
Image

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[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: Importing .gexf file issues

Post by eduramiba » 19 Oct 2011 19:59

Hi,
That declares 2 dynamic columns.
The way to create dynamic values in 1 column is explained here http://gexf.net/format/dynamics.html

Eduardo

ieeamo
Posts:6
Joined:20 May 2011 17:54
[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: Importing .gexf file issues

Post by ieeamo » 25 Oct 2011 16:36

Hi,

Thanks for the response....I created the gexf file using network x, and I guess there were some bugs in the code. Working on contributing a fix.

It seems for gephi to understand, the start= and end= must be within the following position <edge ... start=XX end=YY ></edge> (and not stored as an edge attribute).

E

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