Packagecom.yworks.yfiles.layout.tree
Classpublic class DefaultNodePlacer
InheritanceDefaultNodePlacer Inheritance AbstractNodePlacer Inheritance YObject Inheritance Object
Implements FromSketchNodePlacer, Clonable

Versatile default implementation of com.yworks.yfiles.layout.tree.NodePlacer used by com.yworks.yfiles.layout.tree.GenericTreeLayouter. This implementation provides a couple of related styles for laying out subtrees in a tree layout. The styles can be customized easily using a wealth of different options. This implementation is capable of dealing with PortConstraints correctly.

See also

com.yworks.yfiles.layout.tree.NodePlacer
com.yworks.yfiles.layout.tree.GenericTreeLayouter


Public Properties
 PropertyDefined By
  childPlacement : int
Specifies the child node placement policy.
DefaultNodePlacer
  horizontalDistance : Number
Specifies the horizontal distance this NodePlacer should use for the arrangement of the elements.
DefaultNodePlacer
  minFirstSegmentLength : Number
Specifies the minimum length of the segment between the parent node port and the first bend of the edge.
DefaultNodePlacer
  minLastSegmentLength : Number
Specifies the minimum length of the segment between the last bend of the slope and the port of the child node..
DefaultNodePlacer
  minSlope : Number
Specifies the minimum slope of edges.
DefaultNodePlacer
  minSlopeHeight : Number
Specifies the minimum height for slopes of edges.
DefaultNodePlacer
  rootAlignment : int
Specifies the root node alignment policy.
DefaultNodePlacer
  routingStyle : int
Getter: Returns the current routing style byte constant.
DefaultNodePlacer
  verticalAlignment : Number
Specifies the relative vertical alignment of nodes with the same parent.
DefaultNodePlacer
  verticalDistance : Number
Specifies the vertical distance this NodePlacer should use for the arrangement of the elements.
DefaultNodePlacer
Protected Properties
 PropertyDefined By
 Inheritedgraph : LayoutGraph
The graph instance this class is working on
AbstractNodePlacer
Public Methods
 MethodDefined By
  
DefaultNodePlacer(init:Boolean = true)
Creates a new DefaultNodePlacer with default alignment ( ALIGNMENT_CENTER), default child placement ( PLACEMENT_HORIZONTAL_DOWNWARD), and default edge routing ( ROUTING_FORK) and a horizontal and vertical distance of 40.0d.
DefaultNodePlacer
  
clone():Object
[override]
DefaultNodePlacer
  
Returns a Comparator instance that can be used to register with the GenericTreeLayouter.
DefaultNodePlacer
  
DefaultNodePlacer
 Inherited
Creates an optional Processor for pre- and post-processing.
AbstractNodePlacer
 Inherited
determineChildConnectors(localRoot:Node, connectorMap:DataMap):void
This method initializes internal data structures and then uses the abstract method to determine the child node connector directions.
AbstractNodePlacer
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
DefaultNodePlacer
 Inherited
hashCode():int
YObject
  
[static] Creates a new DefaultNodePlacer with default alignment ( ALIGNMENT_CENTER), default child placement ( PLACEMENT_HORIZONTAL_DOWNWARD), and default edge routing ( ROUTING_FORK) and a horizontal and vertical distance of 40.0d.
DefaultNodePlacer
  
newDefaultNodePlacer2(childPlacement:int, verticalDistance:Number, horizontalDistance:Number):DefaultNodePlacer
[static] Creates a new DefaultNodePlacer with default alignment ( ALIGNMENT_CENTER) and default edge routing ( ROUTING_FORK).
DefaultNodePlacer
  
newDefaultNodePlacer3(childPlacement:int, rootAlignment:int, verticalDistance:Number, horizontalDistance:Number):DefaultNodePlacer
[static] Creates a new DefaultNodePlacer with default edge routing ( ROUTING_FORK).
DefaultNodePlacer
  
newDefaultNodePlacer4(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number):DefaultNodePlacer
[static] Creates a new DefaultNodePlacer.
DefaultNodePlacer
  
newDefaultNodePlacer5(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number, minFirstSegmentLength:Number, minLastSegmentLength:Number, minSlope:Number, minSlopeHeight:Number):DefaultNodePlacer
[static] Creates a new DefaultNodePlacer.
DefaultNodePlacer
 Inherited
placeSubtree(nodeShapeProvider:DataProvider, subtreeShapeProvider:DataProvider, graph:LayoutGraph, localRoot:Node, parentConnectorDirection:int):GenericTreeLayouter_SubtreeShape
This method initializes the local data structures and then delegates the work to the abstract variant.
AbstractNodePlacer
Protected Methods
 MethodDefined By
  
calcParentConnector(graph:LayoutGraph, localRoot:Node, rootLayout:NodeLayout, subtreeShape:GenericTreeLayouter_SubtreeShape, parentEdge:Edge, parentEdgeLayout:EdgeLayout, direction:int):void
Calculates the connector the the parent node.
DefaultNodePlacer
  
calcSlopedSourceEdgeLayout(rootLayout:NodeLayout, childShape:GenericTreeLayouter_SubtreeShape, edge:Edge, childForkCoordinate:Number, rootForkCoordinate:Number):void
Performs the routing of the source side of the edge to the given child node.
DefaultNodePlacer
  
Performs the routing of the source side of the edge to the given child node.
DefaultNodePlacer
  
Performs the routing of the target side of the edge to the given child node.
DefaultNodePlacer
  
cloneImpl(o:Object):void
[override]
DefaultNodePlacer
  
[override]
DefaultNodePlacer
 Inherited
Convenience method that queries the DataProvider for the shape of a single node as a SubtreeShape instance.
AbstractNodePlacer
 Inherited
Convenience method that queries the DataProvider for a SubtreeShape.
AbstractNodePlacer
 Inherited
AbstractNodePlacer
  
Initializes this object.
DefaultNodePlacer
  
initDefaultNodePlacer2(childPlacement:int, verticalDistance:Number, horizontalDistance:Number):void
Initializes this object.
DefaultNodePlacer
  
initDefaultNodePlacer3(childPlacement:int, rootAlignment:int, verticalDistance:Number, horizontalDistance:Number):void
Initializes this object.
DefaultNodePlacer
  
initDefaultNodePlacer4(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number):void
Initializes this object.
DefaultNodePlacer
  
initDefaultNodePlacer5(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number, minFirstSegmentLength:Number, minLastSegmentLength:Number, minSlope:Number, minSlopeHeight:Number):void
Initializes this object.
DefaultNodePlacer
  
placeSubtreeCore(localRoot:Node, parentConnectorDirection:int):GenericTreeLayouter_SubtreeShape
[override]
DefaultNodePlacer
Public Constants
 ConstantDefined By
  ALIGNMENT_CENTER : int = 2
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  ALIGNMENT_LEADING : int = 1
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  ALIGNMENT_LEADING_OFFSET : int = 0
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  ALIGNMENT_LEADING_ON_BUS : int = 7
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  ALIGNMENT_MEDIAN : int = 3
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  ALIGNMENT_TRAILING : int = 4
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  ALIGNMENT_TRAILING_OFFSET : int = 5
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  ALIGNMENT_TRAILING_ON_BUS : int = 6
[static] Alignment byte constant used for the rootAlignment property.
DefaultNodePlacer
  PLACEMENT_HORIZONTAL_DOWNWARD : int = 0
[static] Placement byte constant used for the childPlacement property.
DefaultNodePlacer
  PLACEMENT_HORIZONTAL_UPWARD : int = 2
[static] Placement byte constant used for the childPlacement property.
DefaultNodePlacer
  PLACEMENT_VERTICAL_TO_LEFT : int = 1
[static] Placement byte constant used for the childPlacement property.
DefaultNodePlacer
  PLACEMENT_VERTICAL_TO_RIGHT : int = 3
[static] Placement byte constant used for the childPlacement property.
DefaultNodePlacer
  ROUTING_FORK : int = 1
[static] Routing style byte constant used for the routingStyle property.
DefaultNodePlacer
  ROUTING_FORK_AT_ROOT : int = 2
[static] Routing style byte constant used for the routingStyle property.
DefaultNodePlacer
  ROUTING_POLY_LINE : int = 4
[static] Routing style byte constant used for the routingStyle property.
DefaultNodePlacer
  ROUTING_STRAIGHT : int = 3
[static] Routing style byte constant used for the routingStyle property.
DefaultNodePlacer
Property Detail
childPlacementproperty
childPlacement:int

Specifies the child node placement policy.


Implementation
    public function get childPlacement():int
    public function set childPlacement(value:int):void
horizontalDistanceproperty 
horizontalDistance:Number

Specifies the horizontal distance this NodePlacer should use for the arrangement of the elements.


Implementation
    public function get horizontalDistance():Number
    public function set horizontalDistance(value:Number):void
minFirstSegmentLengthproperty 
minFirstSegmentLength:Number

Specifies the minimum length of the segment between the parent node port and the first bend of the edge.


Implementation
    public function get minFirstSegmentLength():Number
    public function set minFirstSegmentLength(value:Number):void
minLastSegmentLengthproperty 
minLastSegmentLength:Number

Specifies the minimum length of the segment between the last bend of the slope and the port of the child node..


Implementation
    public function get minLastSegmentLength():Number
    public function set minLastSegmentLength(value:Number):void
minSlopeproperty 
minSlope:Number

Specifies the minimum slope of edges.


Implementation
    public function get minSlope():Number
    public function set minSlope(value:Number):void
minSlopeHeightproperty 
minSlopeHeight:Number

Specifies the minimum height for slopes of edges.


Implementation
    public function get minSlopeHeight():Number
    public function set minSlopeHeight(value:Number):void
rootAlignmentproperty 
rootAlignment:int

Specifies the root node alignment policy.


Implementation
    public function get rootAlignment():int
    public function set rootAlignment(value:int):void
routingStyleproperty 
routingStyle:int

Getter: Returns the current routing style byte constant.

Setter: Specifies the current routing style.


Implementation
    public function get routingStyle():int
    public function set routingStyle(value:int):void
verticalAlignmentproperty 
verticalAlignment:Number

Specifies the relative vertical alignment of nodes with the same parent. A value of 0 means nodes are top aligned; a value of 1 means nodes are bottom aligned; a value of 0.5 means nodes are center aligned. Values outside the interval [0,1] will result in a compact node placement with unaligned nodes.

By default the compact placement with unaligned nodes is used.


Implementation
    public function get verticalAlignment():Number
    public function set verticalAlignment(value:Number):void
verticalDistanceproperty 
verticalDistance:Number

Specifies the vertical distance this NodePlacer should use for the arrangement of the elements.


Implementation
    public function get verticalDistance():Number
    public function set verticalDistance(value:Number):void
Constructor Detail
DefaultNodePlacer()Constructor
public function DefaultNodePlacer(init:Boolean = true)

Creates a new DefaultNodePlacer with default alignment ( ALIGNMENT_CENTER), default child placement ( PLACEMENT_HORIZONTAL_DOWNWARD), and default edge routing ( ROUTING_FORK) and a horizontal and vertical distance of 40.0d.

Parameters
init:Boolean (default = true) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods. This parameter can safely be ignored/omitted when calling the constructor.

See also

Method Detail
calcParentConnector()method
protected function calcParentConnector(graph:LayoutGraph, localRoot:Node, rootLayout:NodeLayout, subtreeShape:GenericTreeLayouter_SubtreeShape, parentEdge:Edge, parentEdgeLayout:EdgeLayout, direction:int):void

Calculates the connector the the parent node. Subclasses may override this method.

Parameters

graph:LayoutGraph — the graph
 
localRoot:Node — the root whose connector must be calculated and stored in the subtreeShape
 
rootLayout:NodeLayout — the NodeLayout of the root node
 
subtreeShape:GenericTreeLayouter_SubtreeShape — the shape to be used for the connector information
 
parentEdge:Edge — the edge that will later be routed according to the information in the subtreeShape
 
parentEdgeLayout:EdgeLayout — the current EdgeLayout of the edge
 
direction:int — the direction byte constant as defined in the com.yworks.yfiles.layout.tree.NodePlacer interface which should be used for the connector

See also

calcSlopedSourceEdgeLayout()method 
protected function calcSlopedSourceEdgeLayout(rootLayout:NodeLayout, childShape:GenericTreeLayouter_SubtreeShape, edge:Edge, childForkCoordinate:Number, rootForkCoordinate:Number):void

Performs the routing of the source side of the edge to the given child node. This method delegates to calcSourceEdgeLayout() if routingStyle is not ROUTING_FORK This method calculates the source bends according to the current routingStyle, and connects the bends of the child SubtreeShape connector to the EdgeLayout.

Parameters

rootLayout:NodeLayout — the NodeLayout of the local root node
 
childShape:GenericTreeLayouter_SubtreeShape — the SubtreeShape instance of the corresponding child's subtree
 
edge:Edge — the edge
 
childForkCoordinate:Number — the y-coordinate of the second (= last) bend of the edge if the placement is horizontal and the x-coordinate otherwise.
 
rootForkCoordinate:Number — the y-coordinate of the first bend of the edge if the placement is horizontal and the x-coordinate otherwise.

See also

calcSourceEdgeLayout()method 
protected function calcSourceEdgeLayout(rootLayout:NodeLayout, childShape:GenericTreeLayouter_SubtreeShape, edge:Edge):void

Performs the routing of the source side of the edge to the given child node. This method calculates the source bends according to the current routingStyle, and connects the bends of the child SubtreeShape connector to the EdgeLayout.

Parameters

rootLayout:NodeLayout — the NodeLayout of the local root node
 
childShape:GenericTreeLayouter_SubtreeShape — the SubtreeShape instance of the corresponding child's subtree
 
edge:Edge — the edge

calcTargetEdgeLayout()method 
protected function calcTargetEdgeLayout(rootLayout:NodeLayout, childShape:GenericTreeLayouter_SubtreeShape, edge:Edge):void

Performs the routing of the target side of the edge to the given child node. This method does nothing but resets the current EdgeLayout.

Parameters

rootLayout:NodeLayout — the NodeLayout of the local root node
 
childShape:GenericTreeLayouter_SubtreeShape — the SubtreeShape instance of the corresponding child's subtree
 
edge:Edge — the edge

clone()method 
override public function clone():Object

Returns
Object
cloneImpl()method 
override protected function cloneImpl(o:Object):void

Parameters

o:Object

createComparator()method 
public function createComparator():Comparator

Returns a Comparator instance that can be used to register with the GenericTreeLayouter. The returned instance can be used to sort the child nodes in such a way that the layout will look like the current arrangement of the nodes. This is especially useful for interactive or incremental layouts.

Returns
Comparator — a Comparator instance that can be used for the current configuration of this instance.
createFromSketchComparator()method 
public function createFromSketchComparator():Comparator

Returns
Comparator
determineChildConnector()method 
override protected function determineChildConnector(child:Node):int

Parameters

child:Node

Returns
int
getClass()method 
override public function getClass():Class

Returns
Class
initDefaultNodePlacer1()method 
protected final function initDefaultNodePlacer1():void

Initializes this object. See the documentation of the corresponding factory method newDefaultNodePlacer1() for details.

See also

initDefaultNodePlacer2()method 
protected final function initDefaultNodePlacer2(childPlacement:int, verticalDistance:Number, horizontalDistance:Number):void

Initializes this object. See the documentation of the corresponding factory method newDefaultNodePlacer2() for details.

Parameters

childPlacement:int
 
verticalDistance:Number
 
horizontalDistance:Number

See also

initDefaultNodePlacer3()method 
protected final function initDefaultNodePlacer3(childPlacement:int, rootAlignment:int, verticalDistance:Number, horizontalDistance:Number):void

Initializes this object. See the documentation of the corresponding factory method newDefaultNodePlacer3() for details.

Parameters

childPlacement:int
 
rootAlignment:int
 
verticalDistance:Number
 
horizontalDistance:Number

See also

initDefaultNodePlacer4()method 
protected final function initDefaultNodePlacer4(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number):void

Initializes this object. See the documentation of the corresponding factory method newDefaultNodePlacer4() for details.

Parameters

childPlacement:int
 
rootAlignment:int
 
routingStyle:int
 
verticalDistance:Number
 
horizontalDistance:Number

See also

initDefaultNodePlacer5()method 
protected final function initDefaultNodePlacer5(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number, minFirstSegmentLength:Number, minLastSegmentLength:Number, minSlope:Number, minSlopeHeight:Number):void

Initializes this object. See the documentation of the corresponding factory method newDefaultNodePlacer5() for details.

Parameters

childPlacement:int
 
rootAlignment:int
 
routingStyle:int
 
verticalDistance:Number
 
horizontalDistance:Number
 
minFirstSegmentLength:Number
 
minLastSegmentLength:Number
 
minSlope:Number
 
minSlopeHeight:Number

See also

newDefaultNodePlacer1()method 
public static function newDefaultNodePlacer1():DefaultNodePlacer

Creates a new DefaultNodePlacer with default alignment ( ALIGNMENT_CENTER), default child placement ( PLACEMENT_HORIZONTAL_DOWNWARD), and default edge routing ( ROUTING_FORK) and a horizontal and vertical distance of 40.0d.

Returns
DefaultNodePlacer

See also

newDefaultNodePlacer2()method 
public static function newDefaultNodePlacer2(childPlacement:int, verticalDistance:Number, horizontalDistance:Number):DefaultNodePlacer

Creates a new DefaultNodePlacer with default alignment ( ALIGNMENT_CENTER) and default edge routing ( ROUTING_FORK).

Parameters

childPlacement:int — placement constant describing the style of the arrangement
 
verticalDistance:Number — the vertical distance between the root node and the subtree shapes or between subtree shapes in case of vertical child placement
 
horizontalDistance:Number — the horizontal distance between the root node and the subtree shapes or between subtree shapes in case of horizontal child placement

Returns
DefaultNodePlacer

See also

newDefaultNodePlacer3()method 
public static function newDefaultNodePlacer3(childPlacement:int, rootAlignment:int, verticalDistance:Number, horizontalDistance:Number):DefaultNodePlacer

Creates a new DefaultNodePlacer with default edge routing ( ROUTING_FORK).

Parameters

childPlacement:int — placement constant describing the style of the arrangement
 
rootAlignment:int — alignment constant describing the position of the root nod with respect to the subtrees
 
verticalDistance:Number — the vertical distance between the root node and the subtree shapes or between subtree shapes in case of vertical child placement
 
horizontalDistance:Number — the horizontal distance between the root node and the subtree shapes or between subtree shapes in case of horizontal child placement

Returns
DefaultNodePlacer

See also

newDefaultNodePlacer4()method 
public static function newDefaultNodePlacer4(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number):DefaultNodePlacer

Creates a new DefaultNodePlacer.

Parameters

childPlacement:int — placement constant describing the style of the arrangement
 
rootAlignment:int — alignment constant describing the position of the root nod with respect to the subtrees
 
routingStyle:int — routing style constant
 
verticalDistance:Number — the vertical distance between the root node and the subtree shapes or between subtree shapes in case of vertical child placement
 
horizontalDistance:Number — the horizontal distance between the root node and the subtree shapes or between subtree shapes in case of horizontal child placement

Returns
DefaultNodePlacer
newDefaultNodePlacer5()method 
public static function newDefaultNodePlacer5(childPlacement:int, rootAlignment:int, routingStyle:int, verticalDistance:Number, horizontalDistance:Number, minFirstSegmentLength:Number, minLastSegmentLength:Number, minSlope:Number, minSlopeHeight:Number):DefaultNodePlacer

Creates a new DefaultNodePlacer.

Parameters

childPlacement:int — placement constant describing the style of the arrangement
 
rootAlignment:int — alignment constant describing the position of the root nod with respect to the subtrees
 
routingStyle:int — routing style constant
 
verticalDistance:Number — the vertical distance between the root node and the subtree shapes or between subtree shapes in case of vertical child placement
 
horizontalDistance:Number — the horizontal distance between the root node and the subtree shapes or between subtree shapes in case of horizontal child placement
 
minFirstSegmentLength:Number — the minimum length of the segment from the parent node port to the bend of the slope
 
minLastSegmentLength:Number — the minimum length of the segment from the last bend of the slope to the port of the child node
 
minSlope:Number — the minimum slope between the root node and the subtree shapes
 
minSlopeHeight:Number — the minimum height of slopes between the root node and the subtree shapes

Returns
DefaultNodePlacer
placeSubtreeCore()method 
override protected function placeSubtreeCore(localRoot:Node, parentConnectorDirection:int):GenericTreeLayouter_SubtreeShape

Parameters

localRoot:Node
 
parentConnectorDirection:int

Returns
GenericTreeLayouter_SubtreeShape
Constant Detail
ALIGNMENT_CENTERConstant
public static const ALIGNMENT_CENTER:int = 2

Alignment byte constant used for the rootAlignment property. This constant aligns the root at the center of its subtrees.

See also

ALIGNMENT_LEADINGConstant 
public static const ALIGNMENT_LEADING:int = 1

Alignment byte constant used for the rootAlignment property. This constant aligns the root with the first of its subtrees.

See also

ALIGNMENT_LEADING_OFFSETConstant 
public static const ALIGNMENT_LEADING_OFFSET:int = 0

Alignment byte constant used for the rootAlignment property. This constant places the root ahead of all the child subtrees.

See also

ALIGNMENT_LEADING_ON_BUSConstant 
public static const ALIGNMENT_LEADING_ON_BUS:int = 7

Alignment byte constant used for the rootAlignment property. This constant places the root ahead of all the child subtrees and centered on the bus.

Note: The vertical/horizontal distance between the root node and the subtree shapes depend on the value of parameters verticalDistance/horizontalDistance passed to the Constructor.

See also

ALIGNMENT_MEDIANConstant 
public static const ALIGNMENT_MEDIAN:int = 3

Alignment byte constant used for the rootAlignment property. This constant aligns the root at the median of the connection points to its subtrees.

See also

ALIGNMENT_TRAILINGConstant 
public static const ALIGNMENT_TRAILING:int = 4

Alignment byte constant used for the rootAlignment property. This constant aligns the root at with the last of its subtrees.

See also

ALIGNMENT_TRAILING_OFFSETConstant 
public static const ALIGNMENT_TRAILING_OFFSET:int = 5

Alignment byte constant used for the rootAlignment property. This constant places the root after all of its subtrees.

See also

ALIGNMENT_TRAILING_ON_BUSConstant 
public static const ALIGNMENT_TRAILING_ON_BUS:int = 6

Alignment byte constant used for the rootAlignment property. This constant places the root after all of its subtrees and centered on the bus.

Note: The vertical/horizontal distance between the root node and the subtree shapes depend on the value of parameters verticalDistance/horizontalDistance passed to the Constructor.

See also

PLACEMENT_HORIZONTAL_DOWNWARDConstant 
public static const PLACEMENT_HORIZONTAL_DOWNWARD:int = 0

Placement byte constant used for the childPlacement property. This placement strategy arranges child subtrees horizontally next to each other below the root node.

See also

PLACEMENT_HORIZONTAL_UPWARDConstant 
public static const PLACEMENT_HORIZONTAL_UPWARD:int = 2

Placement byte constant used for the childPlacement property. This placement strategy arranges child subtrees horizontally next to each other above the root node.

See also

PLACEMENT_VERTICAL_TO_LEFTConstant 
public static const PLACEMENT_VERTICAL_TO_LEFT:int = 1

Placement byte constant used for the childPlacement property. This placement strategy arranges child subtrees vertically beneath each other to the left of the root node.

See also

PLACEMENT_VERTICAL_TO_RIGHTConstant 
public static const PLACEMENT_VERTICAL_TO_RIGHT:int = 3

Placement byte constant used for the childPlacement property. This placement strategy arranges child subtrees vertically beneath each other to the right of the root node.

See also

ROUTING_FORKConstant 
public static const ROUTING_FORK:int = 1

Routing style byte constant used for the routingStyle property. Using this value will result in orthogonally routed child node connectors where the bends are placed in the channel between the root node and the child nodes.

See also

ROUTING_FORK_AT_ROOTConstant 
public static const ROUTING_FORK_AT_ROOT:int = 2

Routing style byte constant used for the routingStyle property. Using this value will result in orthogonally routed child node connectors with one bend each placed next to the root node.

See also

ROUTING_POLY_LINEConstant 
public static const ROUTING_POLY_LINE:int = 4

Routing style byte constant used for the routingStyle property. Using this value will result in straight connections to the connector of the subtree.

See also

ROUTING_STRAIGHTConstant 
public static const ROUTING_STRAIGHT:int = 3

Routing style byte constant used for the routingStyle property. Using this value will result in straight connections to the child nodes. Edges may overlap nodes in this case.

See also