Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic simple layout (Read 1289 times)
russell
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 2
Joined: Feb 17th, 2012
simple layout
Mar 1st, 2012 at 3:25pm
Print Post  
Hi All

I'm trying to create a simple diagram to show a hierarchy.  I'd like all the links to attach to either the top or bottom of the nodes and only to have horizontal and vertical links (no diagonals).  I can see a picture in the gallery http://www.mindfusion.eu/gallery/gallery2-net.html that looks to be doing what I want but I can't seem to reproduce it.

Can you help?

Thanks

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: simple layout
Reply #1 - Mar 1st, 2012 at 5:57pm
Print Post  
Hi,

Try running TreeLayout with the following settings:

Code
Select All
TreeLayout tl = new TreeLayout();
tl.Type = TreeLayoutType.Centered;
tl.LinkStyle = TreeLayoutLinkType.Cascading3;
tl.Arrange(diagram);
 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint