Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic TreeLayout (Read 1835 times)
jsamba
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 19
Joined: Aug 17th, 2007
TreeLayout
Aug 18th, 2007 at 2:23pm
Print Post  
I have a tree structure with one root.

I use the following code:
Code
Select All
    Dim tl As New TreeLayout
    tl.reversedArrows = False
    tl.Direction = tldTopToBottom
    tl.Root = FC.boxes(0)
    tl.Type = tltCentralized
    tl.KeepRootPos = True
    tl.Symmetric = True
    FC.ArrangeDiagram tl
 



Instead of having the root at the Top and all the children below, some branches go down below the root, and some go up above ...
Am I doing something wrong?
Can I impose on the root to be above everybody else?

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: TreeLayout
Reply #1 - Aug 20th, 2007 at 5:55am
Print Post  
Setting tl.Symmetric = False should help.

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