Skip to Content
Svelte Flow 2 is out! 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.

Fields

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