public class PortCalculator extends LayoutStage
Constructor and Description |
---|
PortCalculator(HierarchicalLayoutContext context) |
Modifier and Type | Method and Description |
---|---|
void |
calculatePortsNewVersion(prefuse.data.Graph graph,
prefuse.data.Node node) |
protected float |
getHeight(prefuse.data.Node n) |
protected float |
getWidth(prefuse.data.Node n) |
int |
run(prefuse.data.Graph graph) |
protected float |
xsize(prefuse.data.Node u) |
getContext, getEdgeParams, getNodeParams, getNodeType, getRealPredecessors, getRootNodes, getRootNodes, getSinkNodes, getSuccessors, getSuccessors, isDummy, isDummy, isReversed, isSimplified, isSimplified, isTransition, isVisited, setContext, setVisitedNode, unvisitNodes, visitNodes
public PortCalculator(HierarchicalLayoutContext context)
public int run(prefuse.data.Graph graph)
run
in class LayoutStage
public void calculatePortsNewVersion(prefuse.data.Graph graph, prefuse.data.Node node)
protected float xsize(prefuse.data.Node u)
protected float getWidth(prefuse.data.Node n)
protected float getHeight(prefuse.data.Node n)