GEXF export outputs incorrect files #570

sheymann opened this Issue Mar 28, 2012 · 2 comments


None yet

2 participants


From :

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

Gephi GEXF exporter does not follow GEXF 1.2draft specifications.

@sheymann sheymann was assigned Mar 28, 2012
sheymann commented May 8, 2012

The weight property is set as attvalues only when graph mode = dynamic, thought it should be declared. It is possible and the GEXF format does not forbid the weight to be like any other attributes.

sheymann commented May 8, 2012

Another issue: mode is set to dynamic if the option is checked, not regarding if the graph is really dynamic.

@sheymann sheymann added a commit that referenced this issue May 8, 2012
@sheymann sheymann Fix issue #570 on GEXF export 7c57caa
@sheymann sheymann closed this May 8, 2012
@mbastian mbastian added Fix Released and removed Fix Committed labels Nov 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment