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

NodeTypes

Source on GitHub 

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

type NodeTypes = Record<string, SvelteComponent>;