Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic SwapPairsIterations (Read 1765 times)
chrise
YaBB Newbies
*
Offline



Posts: 18
Joined: Dec 8th, 2006
SwapPairsIterations
Dec 8th, 2006 at 3:37pm
Print Post  
I am trying to increase the number of SwapPairsIterations however it remains at 5.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: SwapPairsIterations
Reply #1 - Dec 8th, 2006 at 5:37pm
Print Post  
5 is the max value allowed. That number of iterations are executed each time the algorithm moves nodes up or down the layers, so it is effectively a multiplier applied to the number of nodes and layers in the graph. The layout usually doesn't get any better with more iterations, but it gets much slower. We have added this after a customer request to let them increase the layout speed with a very large graph by decreasing the iterations.

Stoyan
  
Back to top
 
IP Logged
 
chrise
YaBB Newbies
*
Offline



Posts: 18
Joined: Dec 8th, 2006
Re: SwapPairsIterations
Reply #2 - Dec 11th, 2006 at 8:27am
Print Post  
I a graph that is fairly simple and there is a cross over that can be manually corrected. I was hoping that increasing the number of iterations would cure the problem.   I have also noticed that the layout depends on the order that the items have been added to the chart rather than say the Z order. Am I correct in my understanding.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: SwapPairsIterations
Reply #3 - Dec 11th, 2006 at 1:11pm
Print Post  
The LayeredLayout evaluates several other criteria, such as keeping connected nodes close together and links crossing fewer layers.  The layout might leave some arrow crossovers if the graph configuration would worsen according to the other criteria. Please email me the diagram file and our developer will trace through the layout code to see why the cross over remains.

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