ModelEventService
The ModelEventService provides a set of subjects you can subscribe to in order to monitor key events during the model's lifecycle, from initial loading to subsequent updates.
elementTypesLoaded: Emits an event when the initial list of element types has been loaded. This is the first stage of the model loading process.dataLoaded: Emits an event when allDataResourcedata has been successfully loaded.loadCompleted: Emits an event when the initial model loading process is fully complete.updateCompleted: Emits an event after a change has been made and the model has been updated.changes: A combined subject that emits an event for bothloadCompletedandupdateCompleted.