|119937||Aug 17,2015 05:58 AM UTC||Aug 21,2015 03:59 AM UTC||WinForms||3|
Fellows. This is Won.
I have used a diagram (in windows) to represent a manufacturing plant, and there are lots of shapes for manufacturing resources, such as conveyors, sorters, and processors. The most problem of my application is too slow for updating the changes of shapes. I used Model.BeginUpdate() and Model.EndUpdate(). I found it takes long when Model.EndUpdate() is in process. Especially, if new shapes are added, updating time is even much more longer. I do not under stand what this situation is. Is there any possible solution to speed up for updating time? the number of shapes in a diagram model is about thousands.
Thanks for using Syncfusion products.
We suggest you to “Pause and Resume” the Diagram’s EventSink, Model.Eventsink, Model.BridgeManager and Model.HistoryManager to improve the performance of the diagramcontrol while loading large number of nodes. Please refer the below code example and sample for your references.
Here is the code:
Here is the sample:
Please let us know if you need further assistance.
Naganathan K G
Your solution was really working on my project. I really appreciate your help.
Thank you again.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.