Skip to main content

ViewOptions

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

Properties​

edges?​

optional edges: Record<string, VueEdgeMapping>

Mappings for edge appearance/behaviour.


groups?​

optional groups: Record<string, VueGroupMapping>

Mappings for group appearance/behaviour.


nodes?​

optional nodes: Record<string, VueNodeMapping>

Mappings for node appearance/behaviour.


ports?​

optional ports: Record<string, VuePortMapping>

Port mappings. Because of Vue's reactivity, separate port mappings are rarely needed, but they are available if you need them.