You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the file is produced with <graph edgedefault="directed"> or <graph edgedefault="undirected">, but the directed attribute is not set for individual edges.
If we have a mixed graph, it is not recognized as such and <graph edgedefault="undirected">.
When Jung saves to GraphML, it queries the EdgeType getEdgeType(E edge); method declared in HyperGraph. The current implementation is inherited from AbstractTypedGraph, which returns the same edge type for the whole graph.
NetLogo graphs are currently instantiated as either directed or undirected graphs. We would need to create a new class (MixedGraph?) which would inherit from our graph trait and implement getEdgeType on a 'per edge' basis.
The text was updated successfully, but these errors were encountered:
Right now, the file is produced with
<graph edgedefault="directed">
or<graph edgedefault="undirected">
, but thedirected
attribute is not set for individual edges.If we have a mixed graph, it is not recognized as such and
<graph edgedefault="undirected">
.When Jung saves to GraphML, it queries the
EdgeType getEdgeType(E edge);
method declared inHyperGraph
. The current implementation is inherited fromAbstractTypedGraph
, which returns the same edge type for the whole graph.NetLogo graphs are currently instantiated as either directed or undirected graphs. We would need to create a new class (
MixedGraph
?) which would inherit from our graph trait and implementgetEdgeType
on a 'per edge' basis.The text was updated successfully, but these errors were encountered: