JsxWrapperProps
These are the props that are passed to the jsx you provide to map a node, group or overlay component in the viewOptions of a SurfaceComponent or PaperComponent. VisuallyJs passes in the UI, the model (which you can get from the UI anyway), the object being rendered, the object's data, and any childProps that have been configured.
Type Parameters
T
T extends Base
Properties
data
data:
ObjectData
The object's backing data
model
model:
BrowserUIModel
Underlying model. Can also be accessed via ui.model.
obj
obj:
T
The object to be rendered - a Node, Group or Edge.
Deprecated
Use vertex instead from 1.2.0 onwards.
props
props:
any
Any extra props configured by the view to present to this JSX.
ui
ui:
BrowserUI
The UI that is rendering this object.
vertex
vertex:
T
The object to be rendered - a Node, Group or Edge. Use this in preference to obj from 1.2.0 onwards
Since
1.2.0