Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Routing and diagonal lines (Read 1451 times)
jcollins@scires
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 53
Joined: Feb 17th, 2009
Routing and diagonal lines
Mar 25th, 2009 at 8:28pm
Print Post  
Hello again, I am trying to apply a treelayout to my diagram and at the same time prevent diagonal lines(I prefer only horizontal, vertical, and right angles for my links). Is there a way to do this? Below is my code:

Dim oLayout As New MindFusion.Diagramming.Layout.TreeLayout
       oLayout.Direction = Layout.TreeLayoutDirections.LeftToRight

       diagView.Diagram.RouteLinks = True
       oLayout.Arrange(diagView.Diagram)
       diagView.Diagram.ResizeToFitItems(5)
       diagView.Diagram.RouteAllLinks()

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Routing and diagonal lines
Reply #1 - Mar 26th, 2009 at 5:37am
Print Post  
Hi,

Set the Style of all links to Cascading before calling RouteAllLinks().

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