How to align node center of the grid after drop from the palate

This seems to be a duplicate of: How to align the node in center based on the background grid - GoJS - Northwoods Software (nwoods.com)