← Back to team overview

gephi.team team mailing list archive

[Bug 662488] Re: Exceptions when importing mixed graph

 

** Changed in: gephi
    Milestone: None => 0.7beta

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

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

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

Title:
  Exceptions when importing mixed graph

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

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.