fix(svelte) split edges into internal/external. external edges dont require id, source, target anymore
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user