Handle
Source on GitHub (opens in a new tab)
The Handle
type represents the attributes of a handle.
export type Handle = {
id?: string | null;
nodeId: string;
x: number;
y: number;
position: Position;
type: 'source' | 'target';
width: number;
height: number;
};
Fields
Name | Type |
---|---|
# id? | string | null |
# nodeId | string |
# x | number |
# y | number |
# width | number |
# height | number |
# type | "source" | "target" |
# position |