SnapGrid
The SnapGrid type defines the grid size for snapping nodes on the pane. It is used in conjunction with the snapToGrid prop to enable grid snapping functionality.
type SnapGrid = [number, number];The SnapGrid type defines the grid size for snapping nodes on the pane. It is used in conjunction with the snapToGrid prop to enable grid snapping functionality.
type SnapGrid = [number, number];