I have a diagram with this LinkTemplate:
routing: go.Link.AvoidsNodes, curve: go.Link.JumpGap,
My temporary link is customized thus:
// Style the temporary links shown when creating a link between nodes. for (let linkTool of [myDiagram.toolManager.linkingTool, myDiagram.toolManager.relinkingTool]) { // Temporary links used by LinkingTool and RelinkingTool are straight lines: linkTool.temporaryLink.routing = go.Link.Normal; linkTool.temporaryLink.curve = go.Link.Normal; linkTool.temporaryLink.path.stroke = 'white'; linkTool.temporaryLink.path.strokeWidth = 2; linkTool.portGravity = 50; }
The behavior I get is that new temporary links are styled as straight (angled) vectors, but when re-linking I get an orthogonally routed line that has only horizontal and vertical extents. Is there a problem with the relinking tool? Am I using it incorrectly?
Thank you.