Draw2d gets "Snap-to-Grid" function with release 2.3.0

Snapping components to the grid is one of the most requested features for Draw2D and we are happy to release it in today’s update: pixel perfect ‘Snap-To-Grid’ function.  It is available as CanvasPolicy and can be installed with

canvas.installEditPolicy(
new draw2d.policy.canvas.SnapToGridEditPolicy(20));

Components snap on move and also on resize enabling precise layout of diagrams with ease.