Class GraphUtil

java.lang.Object
repast.simphony.visualization.cgd.graph.GraphUtil

public class GraphUtil extends Object
  • Field Details

    • distH

      public double distH
    • distV

      public double distV
  • Constructor Details

    • GraphUtil

      public GraphUtil()
  • Method Details

    • getHDistance

      public double getHDistance()
    • getVDistance

      public double getVDistance()
    • buildNodeLayout

      public void buildNodeLayout(CGDGraph _graph, ParseClanTree _root, int _numNodes, int _initialNumNodes, TreeSet[] parentRel)
      Initializing bounding box placement
    • addDummy

      public int addDummy(ParseClanTree treenode, int top, int bottom, ParseClanTree edgesource, ParseClanTree edgesink)
      Add a dummy graph node and tree node.
    • dummysToEdgePaths

      public void dummysToEdgePaths(CGDGraph _graph)
      Convert dummy nodes to edge paths.