I think your biuld fixed problem with zooming, but i found another one. I have JS function
function diagramView_OnNodeMove(sender, args) {
var margin = nodePosition.width;
const increment = 25;
var bounds = getDiagramBounds();
var left = bounds.left()
var right = bounds.right();
var top = bounds.top();
var bottom = bounds.bottom();
if (nodePosition.x <= left) {
left -= increment;
setDiagramBounds(left, top, right, bottom);
}
else if (nodePosition.x >= right - margin) {
right += increment;
setDiagramBounds(left, top, right, bottom);
}
else if (nodePosition.y <= top) {
top -= increment;
setDiagramBounds(left, top, right, bottom);
}
else if (nodePosition.y >= bottom - margin) {
bottom += increment;
setDiagramBounds(left, top, right, bottom);
}
}
function setDiagramBounds(left, top, right, bottom) {
var diagram = getDiagram();
var rect = MindFusion.Drawing.Rect;
var newBoundsRect = rect.fromLTRB(left, top, right, bottom);
diagram.setBounds(newBoundsRect);
}
So, after moving node over the edge (left and top) this bug occurs.
http://i65.tinypic.com/308xudk.jpghttp://i63.tinypic.com/8z18q9.jpg