graphml `edgedefault` not handled to spec

Asked by Senthil Palanisami

from http://graphml.graphdrawing.org/primer/graphml-primer.html#GraphGraph

 Graphs in GraphML are mixed, in other words, they can contain directed
 and undirected edges at the same time. If no direction is specified
 when an edge is declared, the default direction is applied to the edge.
 The default direction is declared as the XML Attribute edgedefault of
 the graph element. The two possible value for this XML Attribute are
 directed and undirected. Note that the default direction must be
 specified.

However, when specifying an edgedefault Gephi complains "Edge type doesn't
fit with default".

More importantly having a graph with `edgedefault="undirected"` but all edges
but one with `directed="true"` makes the unspecified edge directed as well. My
work around for now is to just not specify edgedefault for the graph, and manually
specifying `directed` as `true` or `false` for each edge - even though this doesn't
strictly follow the GraphML spec.

Question information

Language:
English Edit question
Status:
Answered
For:
Gephi Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Sébastien Heymann (sebastien.heymann) said :
#1

Hi, Thanks for reporting this issue. I open a bug.

Can you help with this problem?

Provide an answer of your own, or ask Senthil Palanisami for more information if necessary.

To post a message you must log in.