Event or callback when the diagram model is replaced?

I’m changing the diagram model like below:

diagram.model = new go.GraphLinksModel(nodeDataArray, linkDataArray);

This is when user interacts with the app and want to see different diagrams. Is there any event/transaction that I can listen to which indicates “model was successfully swapped and the new diagram rendered”?

Basically I need a specific event that tells me the model was replaced completely. Is there such a thing?

The “InitialLayoutCompleted” DiagramEvent.

That was easy. Thanks. I thought InitialLayoutCompleted is only for the first layout render.