Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Planogram node moving

$
0
0

@niyamat wrote:

Hi
I am using Planogram sample as reference.
code is in typescript angular.

  • set property isGridSnapEnabled = true; and my node size is also mulitple of cellsize.

I am facing issue is when I am drag a node or group it is not moving as grid cell size, it is not fit to grid cell size.

initial position image

after drag node or group image

it is in typescript so I create DragginTool object
private dragingTool: go.DraggingTool = new go.DraggingTool(); this.dragingTool.isGridSnapEnabled = true;
don’t what is i miss.

regards

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles