Skip to Content
You are viewing the v1 docs of Svelte Flow. You can find the latest version here.

SnapGrid

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

type SnapGrid = [number, number];
Last updated on