Skip to Content
Svelte Flow 2 is out! Read the announcement →

EdgeTypes

Source on GitHub 

The EdgeTypes type is a record that maps edge type identifiers to their corresponding Svelte components. This allows you to define custom edge types and their implementations.

type EdgeTypes = Record<string, SvelteComponent>;