close
Skip to Content
React Flow Pro is now integrated into reactflow.dev! Read more here →

SnapGrid

Source on GitHub 

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];
Last updated on