Skip to content

Commit 081d176

Browse files
authored
chore/COMPASS-9483 expose convert edge and node utils (#78)
1 parent 4fe68d7 commit 081d176

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
export * from '@/components/diagram';
22
export * from '@/utilities/apply-layout';
3+
export { convertToExternalEdge as mapEdgeToDiagramEdge } from '@/utilities/convert-edges';
4+
export { convertToExternalNode as mapNodeToDiagramNode } from '@/utilities/convert-nodes';
35
export * from '@/utilities/add-nodes-within-bounds';
46
export * from '@/types';
57
export {
@@ -8,4 +10,5 @@ export {
810
useOnSelectionChange,
911
getNodesBounds,
1012
getViewportForBounds,
13+
type ReactFlowInstance as DiagramInstance,
1114
} from '@xyflow/react';

0 commit comments

Comments
 (0)