fix(svelte) split edges into internal/external. external edges dont require id, source, target anymore

This commit is contained in:
Peter
2023-11-28 12:33:54 +01:00
parent 8fe8f73ed3
commit 9f538c6b7c
10 changed files with 124 additions and 9 deletions
@@ -4,7 +4,7 @@
import type { EdgeProps } from '$lib/types';
import { BaseEdge } from '$lib/components/BaseEdge';
type $$Props = EdgeProps;
type $$Props = Partial<EdgeProps>;
$: [path, labelX, labelY] = getSmoothStepPath({
sourceX: $$props.sourceX,