DroidDiagram Programmer's Guide
GridLayout.setStartNode Method
See Also
 






Sets the node that should be placed at the upper left corner of the grid.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setStartNode (
    DiagramNode value
)

 Parameters

value

A DiagramNode object representing the grid start node.

 Remarks

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.

 See Also

GridLayout Members
GridLayout Class
com.mindfusion.diagramming Namespace