Implements a grid graph layout algorithm. GridLayout arranges diagram nodes in a grid, keeping connected nodes close together. The algorithm strives to achieve a small number of link crossings. It is based on an iterative process whose initial steps shuffle the grid nodes randomly. That can lead to very different results each time the algorithm is run.
The following tables list the members exposed by the GridLayout type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the GridLayout class. |
Name | Description | |
---|---|---|
![]() |
Arranges the specified diagram. |
|
![]() |
Gets a value indicating how links will be aligned to the anchor points of tree nodes. |
|
![]() |
Gets the node that should be placed at the bottom right corner of the grid. |
|
![]() |
Gets the desired distance between adjacent grid points. |
|
![]() |
Gets the number of iterations that the layout algorithm should run. |
|
![]() |
Gets a value specifying whether the relative position of nodes within groups should be kept intact. |
|
![]() |
Gets the randomization seed used for generating random node positions. |
|
![]() |
Gets the node that should be placed at the upper left corner of the grid. |
|
![]() |
Gets a value indicating how much horizontal space should be left between the document boundaries and the graph. |
|
![]() |
Gets a value indicating how much vertical space should be left between the document boundaries and the graph. |
|
![]() |
Sets the node that should be placed at the bottom right corner of the grid. |
|
![]() |
Sets the desired distance between adjacent grid points. |
|
![]() |
Sets the number of iterations that the layout algorithm should run. |
|
![]() |
Sets a value specifying whether the relative position of nodes within groups should be kept intact. |
|
![]() |
Sets the randomization seed used for generating random node positions. |
|
![]() |
Sets the node that should be placed at the upper left corner of the grid. |
|
![]() |
Sets a value indicating how much horizontal space should be left between the document boundaries and the graph. |
|
![]() |
Sets a value indicating how much vertical space should be left between the document boundaries and the graph. |