Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic wrong link orientation from anchor point (Read 4378 times)
bgrupp
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Sep 8th, 2010
wrong link orientation from anchor point
Sep 8th, 2010 at 2:13pm
Print Post  
Hello,

It is possible to set the start/end orientation of a link from his anchor point. Currently the anchor point is attached on the left side of the node and the routed link starts horizontally. What i want is that the links start vertically.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: wrong link orientation from anchor point
Reply #1 - Sep 8th, 2010 at 2:21pm
Print Post  
Hi, do you mean you want the link to be routed vertically along the node's vertical left side?
  
Back to top
 
IP Logged
 
bgrupp
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Sep 8th, 2010
Re: wrong link orientation from anchor point
Reply #2 - Sep 9th, 2010 at 6:40am
Print Post  
Hi,

Yes, thats is what i want. It's a custom draw node with an anchor point on the left vertical side and the attached link should be vertical.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: wrong link orientation from anchor point
Reply #3 - Sep 10th, 2010 at 2:35pm
Print Post  
Would this kind of locking work for you?
http://mindfusion.eu/Forum/YaBB.pl?board=fcnet_disc;action=display;num=128332086...

We could implement it for the next release if it's such a popular feature.
  
Back to top
 
IP Logged
 
bgrupp
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Sep 8th, 2010
Re: wrong link orientation from anchor point
Reply #4 - Sep 13th, 2010 at 6:35am
Print Post  
Hi,

Here's a sample image of the current node. What i want is that the link on the left side should goes upwards.

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


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: wrong link orientation from anchor point
Reply #5 - Sep 16th, 2010 at 5:54am
Print Post  
Hi,

It seems GridRouter has some support for this. Try the following settings.

Code
Select All
diagram.RouteLinks = true;
diagram.RoutingOptions.StartOrientation = Orientation.Vertical;
diagram.RoutingOptions.EndOrientation = Orientation.Vertical;
diagram.LinkRouter = new GridRouter(); 



If that will work for you, we can make it customizable per individual anchor points or links.
  
Back to top
 
IP Logged
 
bgrupp
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 4
Joined: Sep 8th, 2010
Re: wrong link orientation from anchor point
Reply #6 - Sep 17th, 2010 at 9:05am
Print Post  
Hello,

these settings works for this type of node. But we have many other nodes which then routed wrong. I think it must be a customizable per anchor point.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: wrong link orientation from anchor point
Reply #7 - Sep 17th, 2010 at 11:07am
Print Post  
Ok, we'll try to add an AnchorPoint property that lets you specify that for the next release.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: wrong link orientation from anchor point
Reply #8 - Sep 24th, 2010 at 12:20pm
Print Post  
This version adds LinkOrientation property to AnchorPoint:
https://mindfusion.eu/_beta/wpfdiag_aporient.zip

At this time it works only when using GridRouter. In addition RoutingOptions.Anchoring must be different from Ignore, and the link's shape must be set to Cascading.

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