use of y.base.Graph in project binnavi by google.
the class GroupHelpers method extractFolder.
public static void extractFolder(final Graph2D graph, final Node folderNode) {
final Graph innerGraph = graph.getHierarchyManager().getInnerGraph(folderNode);
final NodeList subNodes = new NodeList(innerGraph.nodes());
graph.getHierarchyManager().unfoldSubgraph(innerGraph, subNodes);
}