Sets the node that should be placed at the upper left corner of the grid.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public void setStartNode ( |
A DiagramNode object representing the grid start node.
If you set the start node, you should also call the 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.