As I just mentioned at Gojs rendering in Angular app - #2 by walter, you should not be constantly re-creating the Diagram and associating it with the Div. Just create it, initialize it, and associate it with the Div once.
As I just mentioned at Gojs rendering in Angular app - #2 by walter, you should not be constantly re-creating the Diagram and associating it with the Div. Just create it, initialize it, and associate it with the Div once.