Props for the Surface component. You are expected to provide, at a minimum, an instance of BrowserUIReact to this component (as the prop 'toolkit'), and in practise you will also almost certainly want to pass a view and renderParams.

interface SurfaceProps {
    childProps?: any;
    renderParams?: SurfaceRenderOptions;
    toolkit: BrowserUIReact;
    view?: any;
}

Properties

childProps?: any

Any props to pass to children.

renderParams?: SurfaceRenderOptions

Render parameters such as layout, drag options etc

The toolkit to render. Required.

view?: any

Mappings of vertex types to components/jsx and edge types.

Version :