I have a question about Draw2D.js. I have to use ONLY rectangular blocks, so I want the user to only be able to alter the length of the rectangle and prohibit the possibility of modifying its width.
In addition, the length should be limited to multiples of a fixed value, indicated by the grid.