DroidDiagram Programmer's Guide
HierarchicalLayout Members
Constructors Methods
 


Performs hierarchical layout on simple, connected, level-planar graphs.

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

 Public Constructors

  Name Description

HierarchicalLayout

Initializes a new instance of the HierarchicalLayout 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.)

getLevelDistance

Gets the distance between adjacent levels in the hierarchical layout.

getLinkBendFactor

Gets the bending factor of links.

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 a the orientation of the arranged graph.

getProgress

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

init

Returns a HierarchicalLayoutBuilder object used to configure this HierarchicalLayout 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.)

setLevelDistance

Sets the distance between adjacent levels in the hierarchical layout.

setLinkBendFactor

Sets the bending factor of links. A value of 1 indicates that the links should not bend. A value less than 1 indicates that the links should bend towards the geometric center of the graph. A value greater than 1 indicates that the links should bend outwards.

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 a the orientation of the arranged graph.

setProgress

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

with

Returns a HierarchicalLayoutBuilder object used to configure and create new HierarchicalLayout instances.

 See Also

HierarchicalLayout Class
com.mindfusion.diagramming Namespace