SveltePaperViewOptions
Options for the view in the Svelte paper component. Maps node/group/port/edge types to components and behaviour.
Extends
Properties
edges?
optionaledges:Record<string,SvelteEdgeMapping>
Optional edge mappings.
Inherited from
SvelteSurfaceViewOptions.edges
groups?
optionalgroups:Record<string,SvelteGroupMapping>
Optional group mappings
Inherited from
SvelteSurfaceViewOptions.groups
nodes?
optionalnodes:Record<string,SvelteNodeMapping>
Optional node mappings
Inherited from
SvelteSurfaceViewOptions.nodes
ports?
optionalports: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.