전략편집기 수정
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user