CoordinateExtent
Source on GitHub (opens in a new tab)
A coordinate extent represents two points in a coordinate system: one in the top left corner and one in the bottom right corner. It is used to represent the bounds of nodes in the flow or the bounds of the viewport.
export type CoordinateExtent = [[number, number], [number, number]];
Notes
- Props that expect a
CoordinateExtent
usually default to[[-โ, -โ], [+โ, +โ]]
to represent an unbounded extent.