Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Performance issue with EnabledStyleText (Read 3644 times)
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Performance issue with EnabledStyleText
Apr 11th, 2011 at 2:16pm
Print Post  
Hi,

We are getting major performance issue when we are using EnabledStyleText and PolygonalTextLayout property and trying to create 500 ShapeNodes in our diagram.

If node's text is "ABC" then no performance issue is there but if Text is of higher length and continuous like "CopyofCopyofCopyofCopyofCopyofCopyofCopyCopyofCopyofCopyofCopyofCopyofCopyofCopy" than application is taking app 40-45 sec to draw all the nodes. Amazingly but truth, if we put some white spaces between this string, application takes 2-3 seconds to display all the nodes.

We have used these two properties to display continuous string in two lines if text length is larger but by this way we are facing major performance issue.

Please let know how to resolve this behavior? We also want text wrapping in two lines if string is continuous.

Here are the steps to reproduce the issue:
  • Run the application

  • Click on fit to screen button

  • Now change the string from code to some lengthy and continuous string and check the performance.


Thanks,
Anshul
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Performance issue with EnabledStyleText
Reply #1 - Apr 12th, 2011 at 7:27am
Print Post  
Hi,

Any update on this?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Performance issue with EnabledStyleText
Reply #2 - Apr 12th, 2011 at 9:18am
Print Post  
We'll try to optimize this for the next release.
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Performance issue with EnabledStyleText
Reply #3 - Apr 12th, 2011 at 9:21am
Print Post  
Thanks Stoyan.

Could you please let us know the tentative date of release?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Performance issue with EnabledStyleText
Reply #4 - Apr 13th, 2011 at 6:00am
Print Post  
Sometime at the end of April.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Performance issue with EnabledStyleText
Reply #5 - Apr 26th, 2011 at 8:29am
Print Post  
Hi, please check if it's fast enough with this version -
https://mindfusion.eu/_beta/wpfdiagram252.zip
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint