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 |