Skip to main content

ReactSurfaceViewOptions

Options for the view in the react SurfaceComponent. Maps node/group/port/edge types to JSX and behaviour.

Extended by

Properties

edges?

optional edges: Record<string, ReactEdgeMapping>

Optional edge mappings.


groups?

optional groups: Record<string, ReactGroupMapping>

Optional group mappings


nodes?

optional nodes: Record<string, ReactNodeMapping>

Optional node mappings


ports?

optional ports: Record<string, ReactPortMapping>

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