Search
GridLayout.startNode Property
See Also
 





Gets or sets the node that is placed at the upper left corner of the grid.

Namespace: MindFusion.Graphs
File: GridLayout.js

 Syntax

JavaScript  Copy Code

get startNode() {}
set startNode(value) {}

 Property Value

DiagramNode

An instance of the DiagramNode class. The default is null.

 Remarks

If you assign a node to this property, then endNode cannot be null and must be set too. GridLayout usually produces better layouts if both startNode and endNode are null references; in such a case the algorithm automatically selects suitable nodes.

 See Also