Skip to main content
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.
NameTypeDescription
dataObjectDataThe object's backing data
modelBrowserUIModelUnderlying model. Can also be accessed via ui.model.
objTThe object to be rendered - a Node, Group or Edge.
propsanyAny extra props configured by the view to present to this JSX.
uiBrowserUIThe UI that is rendering this object.
vertexTThe object to be rendered - a Node, Group or Edge. Use this in preference to obj from 1.2.0 onwards