I cam comparing multiple diagram solutions and I would like to know if gojs has the ability to show placement guides to see if nodes are well aligned with each other when moving them (other library like mxgraph have this ability)? Thank you for your answer.
I also try to make the links straight when they are not connected to any node. I anderstand that `
dragComputation: function (part, pt, gridpt) { return gridpt; }
makes the link snap to grid when moving the entire link. However, I would like the handle of the link also snap to grid when moving only the handle. That would help the user make straight links. I there such a possibility?
I don’t think there is an example of snapping the end points of a link to a grid, but I think you could modify the LinkShiftingTool extension, demonstrated at Link Shifting Tool and defined at https://gojs.net/latest/extensions/LinkShiftingTool.js. But I’m not sure that tool works for completely disconnected Links.