refactor(store): connection data

This commit is contained in:
moklick
2023-06-05 00:02:07 +02:00
parent 1dab08f36e
commit 45f51e96b1
29 changed files with 527 additions and 879 deletions
@@ -167,7 +167,7 @@
{panOnScroll}
{panOnDrag}
>
<Pane on:pane:click>
<Pane on:pane:click {panOnDrag}>
<ViewportComponent>
<EdgeRenderer on:edge:click />
<ConnectionLine />
@@ -11,17 +11,11 @@ import type {
OnMove,
OnMoveEnd,
CoordinateExtent,
PanOnScrollMode
PanOnScrollMode,
IsValidConnection
} from '@reactflow/system';
import type {
Edge,
Node,
NodeTypes,
KeyDefinition,
EdgeTypes,
IsValidConnection
} from '$lib/types';
import type { Edge, Node, NodeTypes, KeyDefinition, EdgeTypes } from '$lib/types';
export type SvelteFlowProps = DOMAttributes<HTMLDivElement> & {
id?: string;