We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Drawing performance

I have attached the code to draw the nodecollection of about 5000 rectangles.

It is taking about 9 secs.
I need to cut down the performance time by ~2 sec.

Please suggest the necessary steps to be implemented to reduce the performance time.

Thanks in advance,
Krishna



DiagramPerformance_d2a233bd.rar

3 Replies

RK Roman Kharko August 13, 2009 03:25 PM UTC

Have you tried to set Rendering Style ?
By default it is set to "HighQuality"
but you can set it to "HighSpeed"

this.diagram1.Model.RenderingStyle.SmoothingMode = SmoothingMode.HighSpeed;


WS Witold Slirz February 17, 2010 09:50 AM UTC

I've tried to change rendering style.
Perfomance is a bit better, but still extremely slow.
Any other ways to improve speed?


WS Witold Slirz April 27, 2011 02:42 PM UTC

Haho.
Any updates in component?


Loader.
Live Chat Icon For mobile
Up arrow icon