jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
41.13k stars 7.63k forks source link

How do to change the gridSteps of the grid? #4549

Closed ghost closed 3 months ago

ghost commented 3 months ago

I would like to change the structure (not the spacing of the main grid or sub-grid) of the grid from a default 4x4 sub-grid to e.g. 5x5 sub-grid.

There's a configuration parameter described (gridSteps: https://www.drawio.com/doc/faq/configure-diagram-editor) of which I think it's the right one. However, it does not change the the gridSteps as expected. It seems that this issue has already been discussed (https://github.com/jgraph/drawio/issues/1249) but not really sure if successful.

draw.io desktop, v24.6.4

Thanks for any help or tips. this is how the configuration looks like: drawio_configuration

alderg commented 3 months ago

This works for me:

Screenshot 2024-07-18 at 16 54 51 Screenshot 2024-07-18 at 16 54 56

Try it.