I think you misunderstood.
Plz see this video:https://www.useloom.com/share/07da42ce3b79460e87713f948bbb73c2
In your demo (clickInsertsPoint), when I insert a point, reshape link and delete the point, the link ports remains in the same position instead of going back to initial location.
It should go back to initial location so the link should be shortest.
e.diagram.commit(function(diag) {
link.points = pts;
if (pts.count < 3) link.invalidateRoute();
}, "deleted point from link route");
GoJS is meant to be used by programmers. We cannot implement every feature that you want for your app. GoJS has a lot of functionality and power so that you can create whatever UI you like. But you need to learn it so that you can use it to do what you want.