HandleBounds
The HandleBounds type describes a single handle as Vue Flow has measured it — its
position and size relative to its node, plus which node and HandleType it belongs
to.
You get it from ConnectionState’s
fromHandle and toHandle while a connection is being drawn, and from a node’s
internals.handleBounds in the store.
Type
type HandleBounds = {
id?: string | null;
nodeId: string;
x: number;
y: number;
position: Position;
type: HandleType;
width: number;
height: number;
};