public class OrgChartLayouter extends SugiyamaLayoutAlgorithm
LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
Constructor and Description |
---|
OrgChartLayouter(boolean topToBttom,
int distanceX,
int distanceY,
boolean centerNodes,
boolean shortenEdges,
boolean scatterEdges,
int compoundSpacingX,
int compoundSpacingY,
float ratioAim) |
OrgChartLayouter(boolean topToBottom,
java.util.Properties properties) |
OrgChartLayouter(java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyMainAlgorithm(AbstractModelAdapter model,
int offSet,
int offset2) |
protected LayerStructure |
buildLayers(AbstractModelAdapter model,
TopologicalSorter _sorter) |
java.lang.String |
getDisplayName() |
clearTemporaryData, getShortenEdges, getTopToBottom, layoutModel, optimizePositioning, setSelectedNode, setShortenEdges, topologicalSorting, writeCoords
getUnroutedEdges, layoutModel
public OrgChartLayouter(boolean topToBttom, int distanceX, int distanceY, boolean centerNodes, boolean shortenEdges, boolean scatterEdges, int compoundSpacingX, int compoundSpacingY, float ratioAim)
topToBttom
- distanceX
- distanceY
- centerNodes
- shortenEdges
- scatterEdges
- ratioAim
- - has to be greater 0.0f!public OrgChartLayouter(boolean topToBottom, java.util.Properties properties)
public OrgChartLayouter(java.util.Properties properties)
protected LayerStructure buildLayers(AbstractModelAdapter model, TopologicalSorter _sorter)
buildLayers
in class SugiyamaLayoutAlgorithm
public java.lang.String getDisplayName()
getDisplayName
in class SugiyamaLayoutAlgorithm
protected void applyMainAlgorithm(AbstractModelAdapter model, int offSet, int offset2)
applyMainAlgorithm
in class SugiyamaLayoutAlgorithm