GEXF doesn't have edge id attribute

All questions about the GEXF (see http://gexf.net before)
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
eshraf
Posts:1
Joined:21 Jun 2012 11:47
[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
GEXF doesn't have edge id attribute

Post by eshraf » 21 Jun 2012 12:05

when i export my graph to gexf or graphml format, edge doesn't have id attribute. what should i do?

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: GEXF doesn't have edge id attribute

Post by eduramiba » 24 Jun 2012 15:09

Hi,
Nodes and edges ids are not written in GEXF if they coincide with the node/edge internal id (an auto-incremented number) because they don't provide extra information.
Is that the case?

Eduardo

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