A class used to initialize GridLayout objects.
The following tables list the members exposed by the GridLayoutBuilder type.
Name | Description | |
---|---|---|
![]() |
Overloaded. |
Name | Description | |
---|---|---|
![]() |
Sets a value indicating how links should be aligned to the anchor points of tree nodes. |
|
![]() |
Creates a new object with the attributes accumulated by this builder. |
|
![]() |
Sets the node that should be placed at the bottom right corner of the grid. If you set the end node, you should also call the setStartNode method to specify the start node. GridLayout usually produces better layouts if you do not specify start and end nodes; in such a case the algorithm automatically selects suitable nodes. |
|
![]() |
Returns an existing object passed for initialization to this builder. |
|
![]() |
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. If you set the start node, you should also call the GridLayout.setEndNode method to specify the end node. GridLayout usually produces better layouts if you do not specify start and end nodes; in such a case the algorithm automatically selects suitable nodes. |
|
![]() |
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. |