refactor(types): use same structure for nodes and edges

This commit is contained in:
moklick
2024-02-17 15:45:10 +01:00
parent 776f6ce0b7
commit ad7403cc75
24 changed files with 176 additions and 147 deletions
@@ -10,7 +10,6 @@ import type {
OnMoveEnd,
CoordinateExtent,
PanOnScrollMode,
IsValidConnection,
OnError,
ConnectionMode,
PanelPosition,
@@ -18,8 +17,7 @@ import type {
ColorMode,
OnConnect,
OnConnectStart,
OnConnectEnd,
OnBeforeDelete
OnConnectEnd
} from '@xyflow/system';
import type {
@@ -31,7 +29,9 @@ import type {
DefaultEdgeOptions,
FitViewOptions,
OnDelete,
OnEdgeCreate
OnEdgeCreate,
OnBeforeDelete,
IsValidConnection
} from '$lib/types';
import type { Writable } from 'svelte/store';