The RandomLayoutAlgorithm type exposes the following members.

Constructors

  NameDescription
RandomLayoutAlgorithm
Initializes a new instance of the RandomLayoutAlgorithm.

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 RandomLayoutAlgorithm by simply randomizing all the positions of the nodes while keeping them all within the area of the DiagramBounds.
(Overrides LayoutAlgorithmBase..::.Run(IDiagramModel).)

Properties

  NameDescription
DiagramBounds
Gets or sets the bounds that this RandomLayoutAlgorithm will keep all the nodes within.
Info
Gets or sets the ILayoutAlgorithmInfo used to provide additional diagram specific logic.
(Inherited from LayoutAlgorithmBase.)

See Also