How to fit link after changing the node state or changing the template

image

  1. when I am changing the state of CT Node the link is not adjust according
    image

image

is there any way the link adjust automatically based on the port position because we will see last image the showing little bit not odd.

That should happen automatically if you made the change within a transaction.

If you move the modified node manually, do the link routes update as you would like?