DroidDiagram Programmer's Guide
TreeLayoutBuilder Members
Constructors Methods
 


A class used to initialize TreeLayout objects.

The following tables list the members exposed by the TreeLayoutBuilder type.

 Public Constructors

  Name Description

TreeLayoutBuilder

Overloaded.  

 Public Methods

  Name Description

anchoring

Sets a value indicating how links should be aligned to the anchor points of tree nodes.

balance

Sets a value indicating the ordering of the child nodes in order to produce layouts with custom balance.

compactAssistants

Sets a value indicating whether the "assistant" nodes on the same side of a single parent are arranged as close enough to each other as possible. Turning this off will force the nodes on one side to be aligned with their counterparts in the other and occasionally leaving space between adjacent branches.

create

Creates a new object with the attributes accumulated by this builder.

direction

Sets a value indicating in what direction child nodes should be placed relatively to their parent nodes.

enableAssistants

Sets a value indicating whether the "assistant" trait is regarded when performing the layout.

get

Returns an existing object passed for initialization to this builder.

ignoreLinkDirection

Sets a value indicating whether the direction of links should be ignored.

keepGroupLayout

Sets a value indicating whether groups of diagram nodes should be treated as integral nodes in the tree that will be laid out.

keepRootPosition

Sets a value indicating whether the root node should be kept at its original position.

levelDistance

Sets the desired distance between tree levels.

linkStyle

Sets what style should be assigned to the links processed by the layout algorithm.

nodeDistance

Sets the desired distance between nodes on the same level.

reversedLinks

Sets a value indicating which direction of links should be considered the parent-to-child one.

root

Sets the object which will be used as root of the tree.

stretchFactor

Sets a value defining the elliptic factor used with radial layouts.

type

Sets the layout mode.

xGap

Sets a value indicating how much horizontal space to leave between the document boundaries and the tree.

yGap

Sets a value indicating how much vertical space to leave between the document boundaries and the tree.

 See Also

TreeLayoutBuilder Class
com.mindfusion.diagramming.builders Namespace