Skip to Content
Svelte Flow 2 is out! Read the announcement →

SnapGrid

The SnapGrid type is used to define the grid size for snapping nodes on the pane.

type SnapGrid = [number, number];