Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Problem arranging layout (Read 1851 times)
francisco.leonardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Jan 30th, 2008
Problem arranging layout
Feb 12th, 2008 at 4:49pm
Print Post  
Im using the TreeLayout class and calling the arrange method to adjust the diagram's links and tablenodes.

In some cases, links are crossing tablenodes and tablenodes are overlapping each other.

I tried to not set the root property of the treelayout class, but still don't work.

Is there any property to set or call method to fix my problem?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem arranging layout
Reply #1 - Feb 12th, 2008 at 5:28pm
Print Post  
TreeLayout really works only with trees. If you run it on a more complex graph, links that are not part of the graph's spanning tree are ignored. You could call the Route method of such links to fix them.

Stoyan
  
Back to top
 
IP Logged
 
francisco.leonardo
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Jan 30th, 2008
Re: Problem arranging layout
Reply #2 - Feb 12th, 2008 at 5:43pm
Print Post  
But some tablenodes still overlaps other tablenodes. I thought that the component had a collision detection algorithm or something like.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Problem arranging layout
Reply #3 - Feb 12th, 2008 at 5:51pm
Print Post  
You might have to set larger NodeDistance and LayerDistance values.

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