Gets or sets the node that is placed at the upper left corner of the grid.
Namespace: MindFusion.Graphs
File: GridLayout.js
JavaScript
![]() |
---|
get startNode() {} |
DiagramNode
An instance of the DiagramNode class. The default is null.
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.