DroidDiagram Programmer's Guide
TreeMapLayout Members
Constructors Methods
 


Implements a tree map layout algorithm.

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

 Public Constructors

  Name Description

TreeMapLayout

Initializes a new instance of the TreeMapLayout class with the default settings.

 Public Methods

  Name Description

arrange

Applies the layout to the specified diagram.

getAnchoring

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

getContainerPadding

Gets the padding inside containers.

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.)

getLayoutArea

Gets the rectangle in which the layout will try to arrange the nodes, or null, to use the diagram bounds.

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 diagram.

getPadding

Gets the distance between adjacent nodes.

getProgress

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

getSquarify

Gets a value indicating whether the layout should attempt to keep the dimension ratio of the nodes closer to 1.

init

Returns a TreeMapLayoutBuilder object used to configure this TreeMapLayout instance.

removeMidleSegmentPoint

  (Inherited from AbstractLayout.)

setAnchoring

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

setContainerPadding

Sets the padding inside containers.

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.)

setLayoutArea

Sets the rectangle in which the layout will try to arrange the nodes, or null, to use the diagram bounds.

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 diagram.

setPadding

Sets the distance between adjacent nodes.

setProgress

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

setSquarify

Sets a value indicating whether the layout should attempt to keep the dimension ratio of the nodes closer to 1.

with

Returns a TreeMapLayoutBuilder object used to configure and create new TreeMapLayout instances.

 Protected Methods

  Name Description

getDefaultMarginValue

Gets the default value of the Margins property.

 See Also

TreeMapLayout Class
com.mindfusion.diagramming Namespace