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.
Namespace: com.mindfusion.diagramming.builders
Package: com.mindfusion.diagramming.builders
Java
![]() |
---|
public GridLayoutBuilder startNode ( |
A DiagramNode object representing the grid start node.
This GridLayoutBuilder instance.