Skip to main content

SveltePaperViewOptions

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

Extends​

Properties​

edges?​

optional edges: Record<string, SvelteEdgeMapping>

Optional edge mappings.

Inherited from​

SvelteSurfaceViewOptions.edges


groups?​

optional groups: Record<string, SvelteGroupMapping>

Optional group mappings

Inherited from​

SvelteSurfaceViewOptions.groups


nodes?​

optional nodes: Record<string, SvelteNodeMapping>

Optional node mappings

Inherited from​

SvelteSurfaceViewOptions.nodes


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.

Inherited from​

SvelteSurfaceViewOptions.ports