OptionalclassOptional class name to set on the surface component's container
OptionaldataOptional data to load after the component has been mounted.
OptionalinjectorOptional function that is used to generate a set of props for a given vertex before rendering it. This provides
a mechanism for you to inject specific items into the components you use to render your vertices.
The return value of this function should be Record<string, any>. It may be null.
OptionalmodelOptions for the underlying Toolkit instance.
OptionalrenderRender options for the Surface.
OptionalshapeShape library to use to render SVG shapes. Optional.
OptionaltoolkitOptional JsPlumb Toolkit to use. If this is not provided, a Toolkit instance will be created.
OptionalurlOptional url from which to load data after the component has been mounted. If you provide this and also data, this will take precedence.
OptionalviewView options for the Surface.
Props for the SurfaceComponent.