Skip to main content

SvelteSurfaceViewOptions

Options for the view in the Svelte surface component. Maps node/group/port/edge types to components and behaviour.

Extended by​

Properties​

edges?​

optional edges: Record<string, SvelteEdgeMapping>

Optional edge mappings.


groups?​

optional groups: Record<string, SvelteGroupMapping>

Optional group mappings


nodes?​

optional nodes: Record<string, SvelteNodeMapping>

Optional node mappings


ports?​

optional ports: Record<string, SveltePortMapping>

Optional port mappings. Because of the nature of Svelte 5, separate port mappings are a little rare in VisuallyJs Svelte, but they are supported if you need them.