Open
Description
opened on Feb 8, 2021
The constructor of joint.dia.Paper receives gridSize as one of it's parameters. If set, the paper will behave grid-like, letting me place elements only at the intersections of each vertical and horizontal line of the grid (instead of letting me freely position elements wherever I want).
This is exactly what I want for my elements, but not for my links. If I set the grid size option and then start dragging the end of a link around the paper, it will "jump" from "point" to "point" on the paper.
This is a cross-post from https://groups.google.com/g/jointjs/c/391JoaUh01Q
/cc @kumilingus
Activity