I’m using gojs go.Link.Bezier. But I have some problems when using this link type. For example, when I link the link to the next note, the link does not become flat.
As seen, it is really hard to make the link straight.
Does go.Link.Bezier have a snap on this link type?
You might want to do the same on doMouseUp. But you already have such an override, don’t you? So that you can show the menu of kinds of nodes to create and link to?
I copied that code from a working sample. It should work in any sample that supports user-drawn links, unless it conflicts with another customization of the LinkingTool.
You should be overriding doMouseMove, not MouseMove.