Re: [jgrapht-users] How to get subgraph of a graph?
Brought to you by:
barak_naveh,
perfecthash
From: John V. S. <js...@gm...> - 2009-03-09 22:10:18
|
maria esther sanchez wrote: > I was wondering if there is a method in JGraphT to get the aislated > subgraphs inside a graph? (Like the graphs inside a graph) To find them, you can use org.jgrapht.alg.ConnectivityInspector or StrongConnectivityInspector. To manipulate them individually once you find them, you can use org.jgrapht.graph.Subgraph (or one of its variants such as DirectedSubgraph). JVS |