I have an issue while moving the element in the canvas area it should fit center of the cell grid every time when I will move the element . the element I am having inside the group and label is also part of the group so when I will move group only element should be come always center of the grid cell …
do we have any event here while I will move the diagram it should come center of the cell grid.
I’m not sure what you are asking for. There is a “SelectionMoved” DiagramEvent listener that you could define to adjust the locations of nodes at the end of a drag.
If you set the Part.locationSpot to go.Spot.Center and set DraggingTool.gridSnapCellSpot to go.Spot.Center as well, do you get the effect that you want?