feat(canvas): 节点连接 - 新增外置标题与跟随锚点快速连线

This commit is contained in:
ddCat committed 2026-07-31 17:17:01 +08:00
1 parent 17f7bba632
commit ee8c850665
10 files changed
+232 -41

No files matched your search

+3
View File
@@ -276,6 +276,8 @@ export type CanvasConnection = {
toNodeId: string;
fromHandleId?: string;
toHandleId?: string;
fromAnchorRatio?: number;
toAnchorRatio?: number;
};
export type CanvasDisplayConnection = {
@@ -331,6 +333,7 @@ export type ConnectionHandle = {
nodeId: string;
handleType: "source" | "target";
handleId?: string;
anchorRatio?: number;
};
export type SelectionBox = {