전략편집기 수정

This commit is contained in:
Macbook
2026-05-24 12:25:17 +09:00
parent ea39f7df27
commit 1465cb2255
10 changed files with 714 additions and 83 deletions
@@ -1,4 +1,16 @@
import type { EdgeHandleBinding } from '../../utils/strategyFlowLayout';
/** 연결선 끊기 — 커스텀 엣지 컴포넌트에서 캔버스 핸들러 참조 */
export const edgeDisconnectRef = {
current: null as ((edgeId: string) => void) | null,
};
/** 연결선 핸들·경로 바인딩 갱신 */
export const edgeBindingUpdateRef = {
current: null as ((edgeId: string, patch: Partial<EdgeHandleBinding>) => void) | null,
};
/** 탭 전환 직전 — 현재 탭 레이아웃 즉시 저장 */
export const layoutFlushRef = {
current: null as (() => void) | null,
};