user1030497
user1030497

Reputation: 193

How to implement a JUNG graph with mixed (directed and undirected) edges?

I have a GraphML file with both directed and un-directed edges. I want to read this file into a JUNG graph, but I can't find an appropriate implementation that would support graphs of mixed edge-types. Is there such an implementation? Or, any hints to implement one myself? Thanks.

Upvotes: 0

Views: 414

Answers (1)

Joshua O'Madadhain
Joshua O'Madadhain

Reputation: 2704

http://jung.sourceforge.net/doc/api/edu/uci/ics/jung/graph/package-summary.html

Either SparseGraph or SparseMultigraph should do.

Upvotes: 1

Related Questions