gephi.team team mailing list archive
-
gephi.team team
-
Mailing list archive
-
Message #00770
[Bug 662488] Re: Exceptions when importing mixed graph
Hi, thanks for your report
I'm not able to reproduce the exceptions. Did you updated Gephi
recently? I've fixed some things that may patch the issues on mixed
graphs. Let me know if not.
For the mixed import, there are some things the importer is not able to do:
- When working with mixed graph, you need to put directed='true' as well, though the graph is declared as directed. That could be a possible improvement of the importer, but it's already quite complex.
- Remember different types with parallel edges. In your example, there is a directed and undirected edge between '1' and '2'. This situation was not part of the specifications, so this will just be ignored and the first type may be used only.
I notice an issue on a routine that cleans up undirected edges. It
wrongly removes some edges with mixed graphs. I'll fix that.
** Changed in: gephi
Status: New => Confirmed
** Changed in: gephi
Importance: Undecided => Low
** Changed in: gephi
Assignee: (unassigned) => Mathieu Bastian (mathieu.bastian)
** Also affects: gephi/0.7
Importance: Undecided
Status: New
** Changed in: gephi/0.7
Status: New => Confirmed
** Changed in: gephi/0.7
Importance: Undecided => Low
--
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: Confirmed
Status in Gephi 0.7 series: Confirmed
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.