Skip to Content
React Flow 13 is here! 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