diff --git a/mindplot/src/main/javascript/layoutManagers/OriginalLayoutManager.js b/mindplot/src/main/javascript/layoutManagers/OriginalLayoutManager.js index 93ae71f4..38f86214 100644 --- a/mindplot/src/main/javascript/layoutManagers/OriginalLayoutManager.js +++ b/mindplot/src/main/javascript/layoutManagers/OriginalLayoutManager.js @@ -41,6 +41,13 @@ mindplot.layoutManagers.OriginalLayoutManager = mindplot.layoutManagers.BaseLayo maxOrder=order; } result[order] = child; + + //remove position for all childs in depth >1 + var parent = node.getParent(); + if(core.Utils.isDefined(parent)){ + child._position = null; + child._finalPosition = null; + } } } nodesByOrder=null;