BuiltInEdge
The BuiltInEdge type represents all the built-in edge types available in Svelte Flow.
You can use this type when you want to add your own custom edges to a flow but still use
the built-in types.
import type { BuiltInEdge, Edge } from '@xyflow/svelte';
type CustomEdge = Edge<{ label: string }, 'custom'>;
export type AppEdge = BuiltInEdge | CustomEdge;The four built-in edge types are:
defaultstraightstepsmoothstep