Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Many Nodes, slow diagram.. (Read 3366 times)
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
Many Nodes, slow diagram..
Jan 2nd, 2014 at 2:22pm
Print Post  
Hello Stoyo & the team - and happy new 2014!

when the users generate like 100 or more nodes (we do not use much links) the rendering becomes much slower as it looks like that on any change of the nodes (they often overlap in Z in our case as they are stacked like sheets to save space) like moving etc, the whole diagram gets re-rendered and that is like 3 secs or more time.

we were unable to find some way to reduce the unneeded redrawing - even when you overlap/move like 3 nodes, all of the diagram gets redrawn every time.

Do you have any tricks up your sleeve for this?

cheers Smiley
  
Back to top
 
IP Logged
 
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
Re: Many Nodes, slow diagram..
Reply #1 - Jan 2nd, 2014 at 2:36pm
Print Post  
ah just remembered VirtualizingDiagram class, will have a look at that again Tongue
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Many Nodes, slow diagram..
Reply #2 - Jan 2nd, 2014 at 3:19pm
Print Post  
Happy new year! VirtualizingDiagram won't help you much if you display the nodes stacked and all of them are visible on screen. You will see improvement only if you disperse the nodes to enable scrolling.

I am not seeing any delay with 250 ShapeNodes in a Diagram though, perhaps the nodes you are using produce a large WPF visual tree that takes a lot of time to render?

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
Re: Many Nodes, slow diagram..
Reply #3 - Jan 2nd, 2014 at 3:35pm
Print Post  
might be, will have to investigate as we do overlay the draw of the node with nicer vector images etc... the rendering takes seconds...
  
Back to top
 
IP Logged
 
ulthien
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 91
Location: Munich
Joined: Nov 29th, 2011
Re: Many Nodes, slow diagram..
Reply #4 - Jan 3rd, 2014 at 2:10pm
Print Post  
well my 150sh nodes overlap in Z and although they are a simple linear view tree the whole diagram causes render redraw when you as much as change the Z overlap of 2 nodes.

It seems the overlap in Z and changes in Z order no matter how slight, cause huge redraws all the time and so is the rendering time immense...
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Many Nodes, slow diagram..
Reply #5 - Jan 4th, 2014 at 11:01am
Print Post  
Check if you aren't running some slow operations in response to selection or click events. Here is our test project for your reference, it does not seem to show any delay when selecting and moving nodes:

https://mindfusion.eu/_samples/ManyNodesFastDiagram.zip

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint