Package com.google.devtools.depan.view

Examples of com.google.devtools.depan.view.HierarchicalTreeModel


    this(createTreeModel(layoutGraph, relations));
  }

  public static TreeModel createTreeModel(
      GraphModel layoutGraph, DirectedRelationFinder relations) {
    return new HierarchicalTreeModel(
      layoutGraph.computeSuccessorHierarchy(relations));
  }
View Full Code Here


  public static <F> GraphData<F> createGraphData(
      NodeTreeProvider<F> provider,
      GraphModel graph, DirectedRelationFinder relFinder) {
    TreeModel hierarchy =
        new HierarchicalTreeModel(graph.computeSpanningHierarchy(relFinder));
    return new GraphData<F>(provider, hierarchy);
  }
View Full Code Here

TOP

Related Classes of com.google.devtools.depan.view.HierarchicalTreeModel

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.