Skip to content

Commit 6b438f5

Browse files
committed
Remove deprecated parseHandlePort function
1 parent d1a5b2d commit 6b438f5

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

src/lib/components/FlowCanvas.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
toFlowEdge,
4040
toEventNode,
4141
toAnnotationNode,
42-
parseHandlePort,
4342
rotateSelectedNodes,
4443
flipSelectedNodesHorizontal,
4544
flipSelectedNodesVertical,

src/lib/components/canvas/flowConverters.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,3 @@ export function toFlowEdge(conn: Connection): Edge {
6161
animated: false
6262
};
6363
}
64-
65-
/**
66-
* Parse port index from a SvelteFlow handle ID
67-
* Handle format: "{nodeId}-{direction}-{index}" e.g., "node1-output-0"
68-
* @deprecated Use HANDLE_ID.parseIndex instead
69-
*/
70-
export function parseHandlePort(handle: string, direction: 'input' | 'output'): number | null {
71-
return HANDLE_ID.parseIndex(handle, direction);
72-
}

0 commit comments

Comments
 (0)