Skip to Content
React Flow 13 is here! Read the announcement →
ReferenceTypes

HandleBounds

Source on GitHub 

The HandleBounds type represents the attributes of a measured handle, such as its id, nodeId, type, position and its dimensions. You’ll find it for example as fromHandle and toHandle on the ConnectionState.

Before React Flow 13 this type was called Handle. It was renamed to avoid clashing with the <Handle /> component.

Fields

NameTypeDefault
idstring | null
nodeIdstring
xnumber
ynumber
positionPosition
type'source' | 'target'
widthnumber
heightnumber