|
@ -18296,7 +18296,7 @@ Graph.prototype.storePosition = function() { |
|
|
var node = this.nodes[nodeId]; |
|
|
var node = this.nodes[nodeId]; |
|
|
var allowedToMoveX = !this.nodes.xFixed; |
|
|
var allowedToMoveX = !this.nodes.xFixed; |
|
|
var allowedToMoveY = !this.nodes.yFixed; |
|
|
var allowedToMoveY = !this.nodes.yFixed; |
|
|
if (this.nodesData._data[nodeId].x != Math.round(node.x) || this.nodesData.data[nodeId].y != Math.round(node.y)) { |
|
|
|
|
|
|
|
|
if (this.nodesData._data[nodeId].x != Math.round(node.x) || this.nodesData._data[nodeId].y != Math.round(node.y)) { |
|
|
dataArray.push({id:nodeId,x:Math.round(node.x),y:Math.round(node.y),allowedToMoveX:allowedToMoveX,allowedToMoveY:allowedToMoveY}); |
|
|
dataArray.push({id:nodeId,x:Math.round(node.x),y:Math.round(node.y),allowedToMoveX:allowedToMoveX,allowedToMoveY:allowedToMoveY}); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|