Skip to main content

ReactPaperViewOptions

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

Extends

Properties

edges?

optional edges: Record<string, ReactEdgeMapping>

Optional edge mappings.

Inherited from

ReactSurfaceViewOptions.edges


groups?

optional groups: Record<string, ReactGroupMapping>

Optional group mappings

Inherited from

ReactSurfaceViewOptions.groups


nodes?

optional nodes: Record<string, ReactNodeMapping>

Optional node mappings

Inherited from

ReactSurfaceViewOptions.nodes


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.

Inherited from

ReactSurfaceViewOptions.ports