The HierarchicalLayoutAlgorithm type exposes the following members.

Constructors

  NameDescription
HierarchicalLayoutAlgorithm
Initializes a new instance of the HierarchicalLayoutAlgorithm.

Methods

  NameDescription
GetStartNodes
Returns a list of 'start nodes' based on the number of inbound connections on each node.
(Inherited from LayoutAlgorithmBase.)
IsIncluded
Returns whether or not the given IDiagramNode should be affected by this layout algorithm.
(Inherited from LayoutAlgorithmBase.)
Run
Runs this layout algorithm.
(Overrides LayoutAlgorithmBase..::.Run(IDiagramModel).)

Properties

  NameDescription
HorizontalOffset
Gets or sets the horizontal offset at which to start layout out nodes.
HorizontalSpacing
Gets or sets the spacing that should be kept between sibling nodes within the same level.
Info
Gets or sets the ILayoutAlgorithmInfo used to provide additional diagram specific logic.
(Inherited from LayoutAlgorithmBase.)
VerticalOffset
Gets or sets the vertical offset at which to start layout out nodes.
VerticalSpacing
Gets or sets the spacing that should be kept between each level of the hierarchical structure.

See Also