Hello
My diagram has gridsnapping enabled. However, there are objects with sizes that do not fit with the grid (grid has steps of 5… and the object has a width of 17 for example). Therefore, my company decided to get rid of grid snapping. That is, if there is a possibility to snap to other objects.
Refer to the image for better understanding:
What I want to achieve: Moving the top right object by dragging it with the mouse to the left or down should make the object snap to the pink line, either vertically or horizontally, depending on which way it was moved.
I know that it is possible to write your custom moveParts etc. as I saw in this example:
https://gojs.net/latest/samples/pipes.html
My question is: Is there some premade functionality in GoJS to enable this kind of behaviour? I could alter the pipes sample but there would be no sense to it if there was this kind of functionality already (which I could not find in your docs yet).
Best regards
Martin