Search in sources :

Example 1 with Graph

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);
}
Also used : Graph(y.base.Graph) NodeList(y.base.NodeList)

Aggregations

Graph (y.base.Graph)1 NodeList (y.base.NodeList)1