Package y.view.hierarchy

Examples of y.view.hierarchy.HierarchyManager


     *
     * @param graph the graph
     */
    public void initGraph(DependencyGraph graph) {
        fGraph = graph;
        fHierarchyManager = new HierarchyManager(getGraph());
    }
View Full Code Here


     * are replaced by a single edge and removed from the graph.
     */
    public void groupAll() {
        List<Edge> allEdges = new ArrayList<Edge>();

        HierarchyManager hierarchyManager = getRootGraph().getHierarchyManager();
        Graph rootGraph = hierarchyManager.getRootGraph();
        for (NodeCursor nc = rootGraph.nodes(); nc.ok(); nc.next()) {
            Node v = nc.node();
            for (EdgeCursor ec = v.outEdges(); ec.ok(); ec.next()) {
                Edge e = ec.edge();
                allEdges.add(e);
View Full Code Here

TOP

Related Classes of y.view.hierarchy.HierarchyManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.