Handle
Handle
型は、ハンドルの属性を表します。
export type Handle = {
id?: string | null;
nodeId: string;
x: number;
y: number;
position: Position;
type: 'source' | 'target';
width: number;
height: number;
};
フィールド
名前 | 型 |
---|---|
# id? | 文字列 | null |
# nodeId | 文字列 |
# x | 数値 |
# y | 数値 |
# width | 数値 |
# height | 数値 |
# type | "source" | "target" |
# position | Position |