Skip to main content

VisuallyJsService

Provides access to Surface/Diagram/Paper ui components, as well as models. This service is provided in the root as an application-wide instance, but each of the providers also creates and provides an instance of this service.

Class Members​

NameTypeDescription
diagramShallowRef<>The current diagram in scope. May be null.
modelShallowRef<BrowserUIModel>The current model in scope. May be null.
paperShallowRef<>The current paper in scope. May be null.
surfaceShallowRef<>The current surface in scope. May be null.
uiShallowRef<>The current ui (a surface or paper) in scope. May be null.