Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Diagram performance problem (Read 2389 times)
Niranjan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Nov 19th, 2009
Diagram performance problem
Dec 21st, 2009 at 2:19pm
Print Post  
Hi There,

I am using Diagram control in my Silverlight application.

What I have noticed is when I provide less data then the diagram works fine. But as my data increases the the performance is very slow. Even after my diagram is rendered when I use the Scrollviewer to scroll the diagram it is very slow.

I have uploaded the sample at
http://cid-2af8f2fa2ffcfc13.skydrive.live.com/self.aspx/.Public/SilverlightAppli...


Please help me to improve the performance with large data.

Thanks in advance Smiley

Regards,
Niranjan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram performance problem
Reply #1 - Dec 21st, 2009 at 4:03pm
Print Post  
Hi,

Remove the shadow effect, and it works much much faster.

Stoyan
  
Back to top
 
IP Logged
 
Niranjan
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 9
Joined: Nov 19th, 2009
Re: Diagram performance problem
Reply #2 - Dec 22nd, 2009 at 5:11am
Print Post  
Hi Stoyan,

Thank you very much for your reply.

Ya after removing shadow effect the performance is increased.
Is there any workaround that if I want to show some effect and still I get good performance??

Thank you so much once again!!!

Regards,
Niranjan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Diagram performance problem
Reply #3 - Dec 22nd, 2009 at 6:42am
Print Post  
Hi Niranjan,

If there was a way to detect the scroll position change, you could handle it to add shadows only to the currently visible items. I can't seem to find any events for this in the ScrollViewer class though.

If there won't be much interaction with the tree, you might instead try to add a second set of links at the back of Z order, with their Stroke set to Gray to appear as shadows, and with a small offset from the original links.

Regards,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint