Packagecom.yworks.yfiles.layout.hierarchic
Interfacepublic interface Drawer
Implementors AbstractDrawer, AlignmentDrawer, MedianDrawerWrapper, NodeLabelSpaceDrawer

Interface for the third phase of the Sugiyama algorithm. It assigns the coordinates to the nodes according to the defined range.



Public Properties
 PropertyDefined By
  dummyMap : NodeMap
[write-only] Gives the drawer the opportunity to distinguish between dummy nodes and real ones.
Drawer
  minimalEdgeDistance : Number
[write-only] Sets the minimal distance between two edges in the same layer.
Drawer
  minimalLayerDistance : Number
[write-only] Sets the minimal distance between two layers.
Drawer
  minimalMultiEdgeDistance : Number
[write-only] Sets the minimal distance between two edges sharing source/target (aka multi-edges) in the same layer.
Drawer
  minimalNodeDistance : Number
[write-only] Sets the minimal distance between two nodes in the same layer.
Drawer
Public Methods
 MethodDefined By
  
assignCoordinates(g:LayoutGraph, layerLists:Vector.<Object>, layerID:DataProvider):void
This method assigns the coordinates to the nodes.
Drawer
Property Detail
dummyMapproperty
dummyMap:NodeMap  [write-only]

Gives the drawer the opportunity to distinguish between dummy nodes and real ones. dummy stores the original edge for each dummy node or null for real nodes.


Implementation
    public function set dummyMap(value:NodeMap):void
minimalEdgeDistanceproperty 
minimalEdgeDistance:Number  [write-only]

Sets the minimal distance between two edges in the same layer.


Implementation
    public function set minimalEdgeDistance(value:Number):void
minimalLayerDistanceproperty 
minimalLayerDistance:Number  [write-only]

Sets the minimal distance between two layers.


Implementation
    public function set minimalLayerDistance(value:Number):void
minimalMultiEdgeDistanceproperty 
minimalMultiEdgeDistance:Number  [write-only]

Sets the minimal distance between two edges sharing source/target (aka multi-edges) in the same layer.


Implementation
    public function set minimalMultiEdgeDistance(value:Number):void
minimalNodeDistanceproperty 
minimalNodeDistance:Number  [write-only]

Sets the minimal distance between two nodes in the same layer.


Implementation
    public function set minimalNodeDistance(value:Number):void
Method Detail
assignCoordinates()method
public function assignCoordinates(g:LayoutGraph, layerLists:Vector.<Object>, layerID:DataProvider):void

This method assigns the coordinates to the nodes.

Parameters

g:LayoutGraph
 
layerLists:Vector.<Object>
 
layerID:DataProvider