This gets me closer exept:
1. It goes from the bottom anchor to the top anchor, where I am explicitly trying to avoid those anchors and use the Right sided anchor.
2. The first and second segments appear invisible, so the link seems to start out in the middle of nowhere, for some reason.
I've tried these settings, which are closer still, but they don't start and end on the node, for some reason that is probably obvious but I can't see. Plus, the first segment is still invisible:
float centery = (float)(r.Bottom + (r.Height / 2)); float dist = 20; SetLinkPoints(link, new Point(r.Right, centery), new Point(r.Right + dist, centery - dist), new Point(r.Right + (dist * 2), centery - dist), new Point(r.Right + (dist * 2), centery + dist), new Point(r.Right + dist, centery + dist), new Point(r.Right, centery));
|