gridStep

sets the size of a grid step that defines the step of moving a shape

number gridStep;

Values

  • >=1
  • Example

    var diagram = new dhx.Diagram("diagram_container", { 
        gridStep:20
    });


    Default value:

    10
    Details

    We recommend that you use arrows while moving a shape in the editor. This way sets exactly one grid step of moving the shape, whereas using a mouse can cause shift the shape to several grid steps.

    See also
    Back to top