y.layout.hierarchic
Class LinearSegmentsDrawer
java.lang.Object
|
+--y.layout.hierarchic.AbstractDrawer
|
+--y.layout.hierarchic.LinearSegmentsDrawer
- All Implemented Interfaces:
- Drawer
- public class LinearSegmentsDrawer
- extends AbstractDrawer
This class implements the third phase of the sugiyama layout algorithm.
Edges are represented as poly-lines with at most two bends.
Methods inherited from class y.layout.hierarchic.AbstractDrawer |
assignCoordinates, assignYCoords, assignYCoords, dispose, getBottomBorder, getBottomHalf, getBottomY, getDistanceToNextNode, getFullHeight, getFullWidth, getLeftBorder, getLeftHalf, getLeftX, getMinimalEdgeDistance, getMinimalLayerDistance, getMinimalMultiEdgeDistance, getMinimalNodeDistance, getRightBorder, getRightHalf, getRightX, getTopBorder, getTopHalf, getTopY, initializeDistancesToNextNode, setDummyMap, setEdgeLengthKey, setMinimalEdgeDistance, setMinimalLayerDistance, setMinimalMultiEdgeDistance, setMinimalNodeDistance |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LinearSegmentsDrawer
public LinearSegmentsDrawer()
assignCoordinates
protected void assignCoordinates(NodeList[] layers,
DataProvider layerID)
- Description copied from class:
AbstractDrawer
- Overwrite this method to assign the final coordinates to the
objects of he graph.
- Specified by:
assignCoordinates
in class AbstractDrawer