@DavidNelson wrote:
I am experimenting with allowing users to drag links as if they were a node (like your draggableLink Sample)
I just turned out the appropriate link parameters to my code:
this.diagram.toolManager.linkingTool.isUnconnectedLinkValid = true;
this.diagram.toolManager.relinkingTool.isUnconnectedLinkValid = true;
this.diagram.toolManager.draggingTool.dragsLink = true;But when a stretch an input link out I get this error on releasing the mouse:
svm-select.module.ts:24 TypeError: Cannot read property 'pi' of null
at Tr (go.js:1710)
at Rr (go.js:1636)
at W.webpackJsonp../node_modules/gojs/release/go.js.W.getLinkPoint (go.js:1637)
at W.webpackJsonp../node_modules/gojs/release/go.js.W.computePoints (go.js:1632)
at W.webpackJsonp../node_modules/gojs/release/go.js.W.updateRoute.W.co (go.js:1626)
at W. (go.js:1611)
at W.webpackJsonp../node_modules/gojs/release/go.js.g.Nn (go.js:1161)
at xk (go.js:1014)
at E.webpackJsonp../node_modules/gojs/release/go.js.E.CB (go.js:788)
at Ii (go.js:787)Any pointers on how I can debug this problem?
Thanks
David
Posts: 2
Participants: 2