I want to add snap to grid to my diagrams. The default for gridSnapCellSpot seems to be center, but that doesn’t look good in my case. So I changed it to TopLeft but that has no effect at all.
var draggingTool = diagram.toolManager.draggingTool;
draggingTool.isGridSnapEnabled = true;
draggingTool.gridSnapCellSpot = go.Spot.TopLeft;
draggingTool.gridSnapCellSize = new go.Size(20, 20);
isGridSnapEnabled and gridSnapCellSize both work, but gridSnapCellSpot does not. Do you have any idea why?
I use GoJS version 1.6.7.