This code is adapted from the EdgeRoutingSample DemoRoutingFromPortToPort and DrawEdgeWithPort methods. However, I notice that the nodes within that particular example are ellipses which appear to make the difference.
The nodes are simple squares, but it seems that the inner InteractiveEdgeRouter is not respecting the boundary curves of the square nodes. The boundary curves passed into the InteractiveEdgeRouter are however correct:
This code is adapted from the EdgeRoutingSample DemoRoutingFromPortToPort and DrawEdgeWithPort methods. However, I notice that the nodes within that particular example are ellipses which appear to make the difference.
The nodes are simple squares, but it seems that the inner InteractiveEdgeRouter is not respecting the boundary curves of the square nodes. The boundary curves passed into the InteractiveEdgeRouter are however correct:
I am aware that the ports appear backwards - i.e. exit at the top and entry at the bottom. This is a deliberate setup to test MSAGL.