← Back to team overview

gephi.team team mailing list archive

[Bug 662488] Re: Exceptions when importing mixed graph

 

** Changed in: gephi
       Status: Confirmed => Fix Committed

** Changed in: gephi/0.7
       Status: Confirmed => Fix Committed

-- 
Exceptions when importing mixed graph
https://bugs.launchpad.net/bugs/662488
You received this bug notification because you are a member of Gephi
Team, which is subscribed to 0.7.

Status in Gephi - Network exploration and manipulation: Fix Committed
Status in Gephi 0.7 series: Fix Committed

Bug description:
I know that parallel edges get merged. This works quite well for directed and undirected graphs.
But importing mixed graphs raises exceptions:
When you try to import the attached graphML file as "directed" in the drop down menu
an alert box appears with the message "Index must be > 0". (Sometimes you need to repeat it twice in the same window.)
When you instead chose "mixed" graph you will get a NullPointerException.
So mixed graph do not work at all and I tried several edge combinations. It's clear that its not defined what happens when you try to convert a mixed graph with 2 nodes connected by a directed und undirected edge to a directed graph. But edge weight should then be added to both directions for the undirected edges.
Also something like this doesn't work either although it seems pretty natural:
<edge source="1" target="2"/>
<edge source="2" target="1"/>
<edge source="1" target="3" directed="false"/>

Also importing a pure directed graph as a mixed graph seems to remove all edges!
And sometimes Gephi is not frozen but does not respond to actions like "close project" although no error appeared.