Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Bug on arrange Tree TreeLayoutType (Read 2511 times)
goodiesqq
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 3
Joined: Sep 7th, 2009
Bug on arrange Tree TreeLayoutType
Sep 12th, 2009 at 2:51pm
Print Post  
For example,

ShapeNode Level 1-3(department level), set to AnchorPattern.TopInBottomOut

ShapeNode Level 4-6(jobTitle level), set to AnchorPattern.LeftInRightOut

Then TreeLayout layout = new TreeLayout();

when layout.Arrange(diagram), all nodes were arranged to TopInBottomOut.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Bug on arrange Tree TreeLayoutType
Reply #1 - Sep 13th, 2009 at 11:32am
Print Post  
TreeLayout ignores anchor points by default. You could set TreeLayout.Anchoring to Keep or Reassign to connect the links to some anchor points. However that won't change the direction of the tree branches, in case that's what you expect.

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