Different Link behaviour after node rotated

Hi,
In this sample, Draggable Link.

  1. A link drawn from right side of node before rotating:

  2. A link drawn after the node rotated:


After node rotated, link behaviour is different as expected.
How to get the behaviour of link as same as the node before rotated?

I’m not getting that behavior:

How are you creating that behavior?

You can see this, I have screenshot of my screen

I connected specific ports:

I think you are connecting the default ports, which are the whole node.

In your case, the routing is a better in version 1.7:

Thanks Walter. I have seen that 1.7v draggable link sample.

As you send the picture, for rotated node at first time link routing will be link this:

After small adjusted of link, then routing would be like:

Is that possible to get the link routing as shown in second picture at first time of link drawn?.

Not for version 1.7. We’ve left it as a future feature.

Why can’t you connect to individual ports, if you want that routing in either 1.6 or 1.7?

I looking for 1.6 and also if it’s for both version’s it would be great.

We’re not changing the behavior of any version 1.6.* for any such new feature.

Again, I’m asking why you cannot connect the links to specific ports rather than to the whole node. That will route the way that you want in all versions of GoJS.

I am trying to grab the link from port only. But I think some times the link starts from node. How to allow the link to always starts from specific port not from node?

Do you need the whole node to be a port? If not, do not set fromLinkable or toLinkable to true (or the cursor property) on the default port, the one marked with portId: "".