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.
Properties
diagram
diagram:
ShallowRef<{ }>
The current diagram in scope. May be null.
model
model:
ShallowRef<BrowserUIModel>
The current model in scope. May be null.
paper
paper:
ShallowRef<{ }>
The current paper in scope. May be null.
surface
surface:
ShallowRef<{ }>
The current surface in scope. May be null.
ui
ui:
ShallowRef<{ }>
The current ui (a surface or paper) in scope. May be null.