This is an extension and not part of the main GoJS library. Note that the API for this class may change at any time. If you intend to use an extension in production, you should copy the code to your own source directory. See the Extensions intro page for more information.
Constructs an OrthogonalLinkReshapingTool and sets the name for the tool.
Optional
init: Partial<OrthogonalLinkReshapingTool>Override
doStart reshaping, if findToolHandleAt finds a reshape handle at the mouse down point.
If successful this sets handle to be the reshape handle that it finds and adornedLink to be the Link being routed. It also remembers the original link route (a list of Points) in case this tool is cancelled. And it starts a transaction.
Override
doCreate the segment dragging handles. There are two parts: one invisible handle that spans the segment, and a visible handle at the middle of the segment. These are inserted at the front of the adornment such that the normal handles have priority.
Override
reshape
The OrthogonalLinkReshapingTool class lets a user drag a tool handle along the link segment, which will move the whole segment.
If you want to experiment with this extension, try the Orthogonal Link Reshaping sample.