DroidDiagram Programmer's Guide
LayeredLayoutBuilder Members
Constructors Methods
 


A class used to initialize LayeredLayout objects.

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

 Public Constructors

  Name Description

LayeredLayoutBuilder

Overloaded.  

 Public Methods

  Name Description

anchoring

Sets how to align links to the anchor points of nodes.

create

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

direction

Sets a value indicating in what direction the links in the arranged diagram should go.

enableCustomLayers

Sets a value indicating whether to indicating whether the layered layout will honor the LayeredLayoutTraits.Layer flags.

endNode

Sets the node that should be placed in the last layer of the arranged graph. This value is honored only if a setStartNode is specified too.

enforceLinkFlow

Sets a value indicating whether to attempt to force all links to go in the same direction. If the graph being arrange has cycles, some of the links will still go backward. EnableCustomLayers and SplitLayers are ignored if this property is set to true.

get

Returns an existing object passed for initialization to this builder.

growToFit

Sets a value indicating whether the layout should increase the diagram bounds to fit the arranged content.

ignoreNodeSize

Sets a value indicating whether the distance between adjacent nodes in the final layout should be independent of the nodes' size.

keepGroupLayout

Sets a value specifying whether the relative position of nodes within groups should be kept intact.

layerDistance

Sets the desired distance between adjacent layers.

layoutLink

Sets an object, which is notified when the position of a link is changed by the layout.

layoutNode

Sets an object, which is notified when the position of a node is changed by the layout.

linksCompactFactor

Sets a value indicating how much to compact the outermost links.

linkType

Sets the appearance of the links in the final layout.

margins

Sets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds.

multipleGraphsPlacement

Sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other.

nodeDistance

Sets the desired distance between adjacent nodes on the same layer.

orientation

Sets a value indicating what the overall orientation of the arranged diagram should be.

progress

Sets the progress callback delegate.

splitLayers

Sets a value indicating whether layers that are much wider than the other layers should be split.

startNode

Sets the node that should be placed in the first layer of the arranged graph.

straightenLongLinks

Sets whether the layout algorithm should strive to straighten links that cross more than one layer of the graph.

timeLimit

Sets a time-out value for the path-finding part of the layered layout algorithm.

xGap

Sets a value indicating how much horizontal space should be left between the document boundaries and the graph.

yGap

Sets a value indicating how much vertical space should be left between the document boundaries and the graph.

 See Also

LayeredLayoutBuilder Class
com.mindfusion.diagramming.builders Namespace