The GridLayoutAlgorithm type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| GridLayoutAlgorithm |
Initializes a new instance of the GridLayoutAlgorithm class.
|
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 layout algorithm.
(Overrides LayoutAlgorithmBase..::.Run(IDiagramModel).) |
Properties
| Name | Description | |
|---|---|---|
| HorizontalOffset |
Gets or sets the horizontal offset at which to start layout out nodes.
| |
| HorizontalSpacing |
Gets or sets the horizontal spacing between the columns of the grid.
| |
| 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 vertical spacing between the rows of the grid.
|