Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic change vertical diagram to horizontal diagram (Read 3049 times)
zhang
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: May 28th, 2014
change vertical diagram to horizontal diagram
Jun 23rd, 2014 at 1:37pm
Print Post  
Hello,My Problem is about the appearance of diagram-layout-direction.I explain this by the following picture. What I want ,is to get a horizontal diagram,could you tell me that how can I make this? Thank you very much!
  

image.jpg (Attachment deleted)
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: change vertical diagram to horizontal diagram
Reply #1 - Jun 23rd, 2014 at 2:08pm
Print Post  
Hi,

If you are using automatic layout classes such as TreeLayout or LayeredLayout, change their Orientation property to Horizontal:

Code
Select All
import com.mindfusion.diagramming.jlayout.Orientation;
...
layeredLt.setOrientation(Orientation.Horizontal); 



I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
zhang
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 14
Joined: May 28th, 2014
Re: change vertical diagram to horizontal diagram
Reply #2 - Jun 23rd, 2014 at 2:14pm
Print Post  
thanks a lot!!!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint