y.layout.hierarchic
Class PolylineDrawer

java.lang.Object
  |
  +--y.layout.hierarchic.AbstractDrawer
        |
        +--y.layout.hierarchic.PolylineDrawer
All Implemented Interfaces:
Drawer

public class PolylineDrawer
extends AbstractDrawer

This class is an implementation of the third phase of the sugiyama algorithm, which represents edges by polylines.


Field Summary
 
Fields inherited from class y.layout.hierarchic.AbstractDrawer
distanceToNextNode, dummyMap, edgeLengthKey, graph, minimalEdgeDistance, minimalLayerDistance, minimalMultiEdgeDistance, minimalNodeDistance
 
Fields inherited from interface y.layout.hierarchic.Drawer
NODE_BORDER_BOTTOM, NODE_BORDER_LEFT, NODE_BORDER_RIGHT, NODE_BORDER_TOP, NODE_DISTANCE
 
Constructor Summary
PolylineDrawer()
           
 
Method Summary
protected  void assignCoordinates(NodeList[] layerLists, DataProvider layerID)
          Overwrite this method to assign the final coordinates to the objects of he graph.
 
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
 

Constructor Detail

PolylineDrawer

public PolylineDrawer()
Method Detail

assignCoordinates

protected void assignCoordinates(NodeList[] layerLists,
                                 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

© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003