Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Error in linking. (Read 10882 times)
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: Error in linking.
Reply #15 - Apr 26th, 2009 at 1:57pm
Print Post  
Hi,

I sent you another diagram that was create with layerdLayout, in this picture you can see that [u]all [/u] the roots are in the left.
that what i need in the tree layout.

its very important for us.
without it , its not comfortable for our requirements.

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Error in linking.
Reply #16 - Apr 27th, 2009 at 9:16am
Print Post  
Exactly, so why not just use LayeredLayout? TreeLayout was designed to arrange trees, and your graphs are not trees. LayeredLayout was designed to arrange arbitrary graphs, so it puts your multiple roots at better positions. Is it the link style from TreeLayout that you like better?

Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: Error in linking.
Reply #17 - Apr 27th, 2009 at 9:21am
Print Post  
Hi,

I'm sorry but my data is designate to tree graph.
In my data there is no cycle links, there is some shapes with one link between them and that is tree by definition.
Its work fine in all the case except the case that there is more than 1 root, and its not clear what to set in the TreeLayout.Root = ...

Thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Error in linking.
Reply #18 - Apr 27th, 2009 at 1:39pm
Print Post  
If you ignore link direction, then it's a tree indeed. If you do not ignore link direction, it's not a tree because there are nodes with more than one parent, which TreeLayout cannot handle because it becomes ambiguous where to place a child node. With link direction ignored, you can choose any of the nodes as a root, but the graph will be arranged as a tree, with just one node at he first level. I won't discuss the definition of a tree anymore with you; let me know what you like in TreeLayout more than LayeredLayout, and our developer will check if it can be supported there too.

Stoyan
  
Back to top
 
IP Logged
 
maor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 79
Joined: Mar 24th, 2009
Re: Error in linking.
Reply #19 - Apr 27th, 2009 at 1:57pm
Print Post  
now i understand you.. tree layout not support shape with more than 1 parent.

if layerd layout links will be like the tree layout and it will be symmetrical appearance its will be good.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint