Optional
childAny props to pass to children.
Optional
classOptional class name to append to the root element's class list.
Optional
dataOptional initial data
Optional
modelOptions for the underlying JsPlumb Toolkit instance. If you use this component as a child of a JsPlumbComponent
then the underlying JsPlumb instance will be sourced
from the JsPlumbComponent. Otherwise, this component will instantiate a JsPlumb instance itself, optionally using these params.
Optional
renderRender options such as layout, drag options etc
Optional
shapeOptional shape library for the underlying surface to use. You can provide this or you can
also provide a shapes
render option to the surface.
Optional
surfaceOptional ID to assign to the surface that is created.
Optional
toolkitJsPlumb instance to use - optional. The SurfaceComponent will create find a JsPlumb instance in an enclosing JsPlumbContext, if applicable, or otherwise will create its own JsPlumb instance (for which you can provide modelOptions if you wish)
Optional
urlOptional URL to load initial data from.
Optional
viewMappings of vertex types to components/jsx and edge types.
Props for the Surface component.