DroidDiagram Programmer's Guide
CascadeLayout Members
Constructors Methods
 


Performs cascading layout on simple, connected graphs.

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

 Public Constructors

  Name Description

CascadeLayout

Initializes a new instance of the CascadeLayout class.

 Public Methods

  Name Description

arrange

Applies the layout on the specified subset of items from the specified Diagram instance.

getAnchoring

Gets how to align links to the anchor points of nodes. (Inherited from AbstractLayout.)

getGrowToFit

Gets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from AbstractLayout.)

getKeepGroupLayout

Gets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from AbstractLayout.)

getLayoutLink

Gets an object, which is notified when the position of a link is changed by the layout. (Inherited from AbstractLayout.)

getLayoutNode

Gets an object, which is notified when the position of a node is changed by the layout. (Inherited from AbstractLayout.)

getMargins

Gets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds. (Inherited from AbstractLayout.)

getMultipleGraphsPlacement

Gets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from AbstractLayout.)

getOrientation

Gets the orientation of the arranged graph.

getPadding

Gets the spacing between nodes in adjacent layers.

getProgress

Gets the progress callback delegate. (Inherited from AbstractLayout.)

init

Returns a CascadeLayoutBuilder object used to configure this CascadeLayout instance.

removeMidleSegmentPoint

  (Inherited from AbstractLayout.)

setAnchoring

Sets how to align links to the anchor points of nodes. (Inherited from AbstractLayout.)

setGrowToFit

Sets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from AbstractLayout.)

setKeepGroupLayout

Sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from AbstractLayout.)

setLayoutLink

Sets an object, which is notified when the position of a link is changed by the layout. (Inherited from AbstractLayout.)

setLayoutNode

Sets an object, which is notified when the position of a node is changed by the layout. (Inherited from AbstractLayout.)

setMargins

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. (Inherited from AbstractLayout.)

setMultipleGraphsPlacement

Sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from AbstractLayout.)

setOrientation

Sets the orientation of the arranged graph.

setPadding

Sets the spacing between nodes in adjacent layers.

setProgress

Sets the progress callback delegate. (Inherited from AbstractLayout.)

with

Returns a CascadeLayoutBuilder object used to configure and create new CascadeLayout instances.

 See Also

CascadeLayout Class
com.mindfusion.diagramming Namespace