Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Need some help with Cascading DiagramLinks (Read 1768 times)
kmontgom
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 11
Joined: Nov 13th, 2008
Need some help with Cascading DiagramLinks
Mar 26th, 2009 at 1:29pm
Print Post  
Hi,

I'm continuing the work on the workflow designer, and I've come across a strange situation with diagram links.

I have a TableNode which contains global input parameters to the workflow. It is situated in the upper left corner of the diagram.

The other workflow activities are instances of TableNode, and are situated to the right and below the global input TableNode.

When I draw a link between the global input table and another table, I want the diagram link to be always drawn horizontally for some distance away from the global input before starting a vertical cascade.

This happens for the first two or three links. After the third link, all subsequent links ALWAYS start with a vertical segment, which overlaps the edge of the global input TableNode.

How do I prevent this from happening?

Note that I have Diagram.LinkStyle set to LinkStyle.Cascading, and custom link drawing is set to full.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Need some help with Cascading DiagramLinks
Reply #1 - Mar 26th, 2009 at 3:14pm
Print Post  
Hi,

Try with these options:

diagram.LinkCascadeOrientation = Orientation.Horizontal;
diagram.LinkStyle = LinkStyle.Cascading;
diagram.LinkSegments = 3;

or if using auto-routing, set larger NodeVicinity* values to prevent the link from bending too soon.

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


I love YaBB 1G - SP1!

Posts: 11
Joined: Nov 13th, 2008
Re: Need some help with Cascading DiagramLinks
Reply #2 - Mar 26th, 2009 at 3:20pm
Print Post  
Thanks for the quick reply (as usual).

Looks like setting LinkCascadeOrientation = Horizontal fixes the problem.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint