Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Performance problem (Read 1525 times)
Luca
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Feb 14th, 2007
Performance problem
Feb 14th, 2007 at 12:21pm
Print Post  
Hi!!, i love your control but i still have 2 problems with it.

we have a graph with 1000 nodes (boxes) and 1100 links (arrows). When we draw it in the flowchart the scroll is so slow as for making the aplication useless and furthermore it is very dificult to create new arrows between boxes or create new boxes. What could we do to make this more efficient!?.

the other issue is that we would like that  the arrow doesn`t cross over the boxes, if we mark the box with obstacule = true and at the same time the propierties autoroute, or manage routeAllArrows() or route() then the computer hangs off..., is there any other way to do this?...

thank youu!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Performance problem
Reply #1 - Feb 14th, 2007 at 12:44pm
Print Post  
Hi!

There is little you can do to improve performance for that many objects.

A planned feature for version 5 is to change the data structures used to store objects to quad-trees. Currently everything is stored in arrays, and the control must iterate all objects when drawing or hit-testing. Quad-trees let us quickly access the objects that must be painted and provide for very efficient hit-testing.

We will start uploading preview builds for FC.NET 5 in a couple of weeks.

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