Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →

Rect

The Rect type describes a rectangle by its top-left position (x, y) and its width and height. It’s returned by helpers like getNodesBounds.

Fields

NameTypeDefault
widthnumber
heightnumber
xnumber
ynumber