fix defaultEdge options and add elevateEdgesOnSelect

This commit is contained in:
peterkogo
2025-04-15 15:56:57 +02:00
parent 1fa3b50366
commit 4a42a1a2e2
6 changed files with 47 additions and 11 deletions
@@ -2,9 +2,8 @@
import { useStore } from '$lib/store';
import type { Edge } from '$lib/types';
import { XYHandle, type HandleType, type XYPosition } from '@xyflow/system';
import { getContext, type Snippet } from 'svelte';
import type { ClassValue } from 'svelte/elements';
import EdgeLabel from '../EdgeLabel/EdgeLabel.svelte';
import { getContext } from 'svelte';
import { EdgeLabel } from '../EdgeLabel';
import type { EdgeReconnectAnchorProps } from './types';
let {