I have a simple diagram where I want links to extend about 20 px straight out of the node’s fromPort before curving, and then straightening again 20 px before entering the toPort. I tried a few things to get this effect but wasn’t quite satisfied. I first tried to use curve: go.Link.Bezier with varying fromEndSegmentLength and toEndSegmentLength, but the ends of the link never seemed to be really straight (the first link in my image). Then I just tried to use curve: go.Link.None and the corner poperty, but the corner property doesn’t seem to affect corners with this curve type (bottom link in my image). I’d really like something that looked like the second link, but with at least rounded corners. I’d also be happy with a bezier curve, provided the 20px ends were straight (or nearly so).
I considered subclassing Link and using computePoints to try to add more control points to my bezier, but I didn’t get too far partly because I wasn’t sure how to design a reasonable path.