The RandomLayoutAlgorithm type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | RandomLayoutAlgorithm |
Initializes a new instance of the RandomLayoutAlgorithm.
|
Methods
Name | Description | |
---|---|---|
![]() | 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
Name | Description | |
---|---|---|
![]() | 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.) |