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

Rect

Source on GitHub 

The Rect type defines a rectangle in a two-dimensional space with dimensions and a position.

NameTypeDefault
widthnumber
heightnumber
xnumber
ynumber