gephi/trunk — Issue #288: Exceptions when importing mixed graph
Author: mbastian
Created: 2011-10-22 16:44:56+00:00
State: open
Labels: Fix Released, Low

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:

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.