BuiltInNode
The BuiltInNode type represents all the built-in node types available in Svelte Flow.
You can use this type when you want to add your own custom nodes to a flow but still use
the built-in types.
import type { BuiltInNode, Node } from '@xyflow/svelte';
type CustomNode = Node<{ value: number }, 'custom'>;
export type AppNode = BuiltInNode | CustomNode;The four built-in node types are:
inputoutputdefaultgroup