Free positioning working ...

This commit is contained in:
Paulo Veiga
2012-01-18 01:32:55 -03:00
parent f0eb293211
commit 2e49219fb9
3 changed files with 12 additions and 6 deletions

View File

@@ -65,7 +65,7 @@ mindplot.layout.EventBusDispatcher = new Class({
},
_nodeAdded: function(node) {
// Centra topic must not be added twice ...
// Central topic must not be added twice ...
if (node.getId() != 0) {
this._layoutManager.addNode(node.getId(), {width:10,height:10}, node.getPosition());
this._layoutManager.updateShrinkState(node.getId(), node.areChildrenShrunken());