public class UMLlayouter extends SugiyamaLayoutAlgorithm
LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
Constructor and Description |
---|
UMLlayouter(java.util.Properties properties) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName() |
void |
layoutModel(AbstractModelAdapter model,
int xstart,
int ystart,
int direction)
start and direction are not needed
|
void |
setSelectedNode(NodeInterface selectedNode) |
applyMainAlgorithm, buildLayers, clearTemporaryData, getShortenEdges, getTopToBottom, optimizePositioning, setShortenEdges, topologicalSorting, writeCoords
getUnroutedEdges, layoutModel
public UMLlayouter(java.util.Properties properties)
properties
- public java.lang.String getDisplayName()
getDisplayName
in class SugiyamaLayoutAlgorithm
public void layoutModel(AbstractModelAdapter model, int xstart, int ystart, int direction) throws java.lang.Exception
SugiyamaLayoutAlgorithm
layoutModel
in class SugiyamaLayoutAlgorithm
direction
- One of LAYOUT_VERTICAL or LAYOUT_HORIZONTALjava.lang.Exception
public void setSelectedNode(NodeInterface selectedNode)
setSelectedNode
in class SugiyamaLayoutAlgorithm