refactor(utils): use utils from system package

This commit is contained in:
moklick
2024-01-15 17:44:29 +01:00
parent e23cf8256a
commit f32a92ecca
5 changed files with 18 additions and 11 deletions
@@ -30,10 +30,14 @@
<script lang="ts">
import { createEventDispatcher } from 'svelte';
import { SelectionMode, getEventPosition, getNodesInside } from '@xyflow/system';
import {
SelectionMode,
getEventPosition,
getNodesInside,
getConnectedEdges
} from '@xyflow/system';
import { useStore } from '$lib/store';
import { getConnectedEdges } from '$lib/utils';
import type { Node, Edge } from '$lib/types';
import type { PaneProps } from './types';