Class GraphUtil
java.lang.Object
repast.simphony.visualization.cgd.graph.GraphUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
addDummy
(ParseClanTree treenode, int top, int bottom, ParseClanTree edgesource, ParseClanTree edgesink) Add a dummy graph node and tree node.void
buildNodeLayout
(CGDGraph _graph, ParseClanTree _root, int _numNodes, int _initialNumNodes, TreeSet[] parentRel) Initializing bounding box placementvoid
dummysToEdgePaths
(CGDGraph _graph) Convert dummy nodes to edge paths.double
double
-
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
Convert dummy nodes to edge paths.
-