Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Interface. Command Execution Context

modelFactory

modelFactory: IModelFactory

Defined in: packages/sprotty/src/base/commands/command.ts:199

Used to turn sprotty external model elements (e.g. from the action) into internal model elements


root

root: SModelRootImpl

Defined in: packages/sprotty/src/base/commands/command.ts:196

The current Sprotty model (i.e. the main model that is visible to the user)


syncer

syncer: AnimationFrameSyncer

Defined in: packages/sprotty/src/base/commands/command.ts:211

Provides the ticks for animations