[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] GEXF format and Gephi
Page 1 of 1

[FIXED] GEXF format and Gephi

Posted: 13 Mar 2012 15:49
by netgrm
Hi there,

I've created three nodes and two edges (one directed, one undirected) within gephi, do some calculations (pagerank ...), and then exported the graph to the GEXF format. I've seen some inconsistencies between the output file and the GEXF format specs:
- defaultedgetype is set to mixed, which does not makes much sense as I understand the aim of this attribute
- the weight property of my edges are set as attvalues while they are declared as attributes of the edge tag in the format specs.
- following the previous point, the weight attribute is not declared in the attributes section of the graph

Despite the lastest point, gephi is able to load my graph back, with some warnings though.

Any comments ? Are the specifications of the GEXF format evolving / not up to date ?

I'm using Gephi 0.8b

Re: GEXF format and Gephi

Posted: 13 Mar 2012 15:57
by admin
Hi,

Can you share the file here please?

Re: GEXF format and Gephi

Posted: 13 Mar 2012 16:32
by netgrm
Sure, attached the GEXF and it's GraphML counterpart.

GraphML is here to point another small inconsistency: the edge weights are supposed to be of float type, but are written as double in the graphml output file.

Hope that helps.

Re: GEXF format and Gephi

Posted: 28 Mar 2012 22:31
by admin
Thanks for your feedback, I opened an issue. Gephi GEXF exporter does not follow GEXF 1.2draft specifications.