Hi Richard,
I was able to optimise the load time of the "WorkStation" node from your palette "NetworkFlowModel.edp" file.
The result was as follows:
1. With my first optimisation techinque:
700 "Workstation" Nodes: ~35 seconds.
2. With my updated and latest optimisation techinques:
700 "Workstation" Nodes: ~5.7 seconds!
The advanced optimisations used here are as follows:
-----START-------
this.diagram1.Model.BeginUpdate();
this.diagram1.Model.HistoryManager.Pause();
this.diagram1.EventSink.Pause();
this.diagram1.Model.EventSink.Pause();
-------
//AddNodes Code;
-------
this.diagram1.Model.EventSink.Resume();
this.diagram1.EventSink.Resume();
this.diagram1.Model.HistoryManager.Resume();
this.diagram1.Model.EndUpdate();
-------END-------
For your convenience, I am attaching my updated sample file that demonstrates the advanced optimisations used.
Let me know if this helps.
Happy coding!
-Ajeet
Diagram_WF_ManySymbols_ded96baf.zip