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

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

No files matched your search

@@ -12,6 +12,7 @@ import { CanvasNodeType, type CanvasNodeData, type ConnectionHandle, type Positi
export type PendingConnectionCreate = {
connection: ConnectionHandle;
position: Position;
quick?: boolean;
};
export function CanvasSelectionToolbar({ anchorRef, containerRef, count, children }: { anchorRef: RefObject<HTMLDivElement | null>; containerRef: RefObject<HTMLDivElement | null>; count: number; children: ReactNode }) {