Remove layout harcodes.

This commit is contained in:
Paulo Veiga
2012-01-30 20:17:47 -03:00
parent 306133cd5e
commit 00ca42f7fe
8 changed files with 29 additions and 188 deletions

View File

@@ -127,9 +127,9 @@ mindplot.NodeGraph = new Class({
workspace.removeChild(this);
},
createDragNode : function() {
createDragNode : function(layoutManager) {
var dragShape = this._buildDragShape();
return new mindplot.DragTopic(dragShape, this);
return new mindplot.DragTopic(dragShape, this, layoutManager);
},
_buildDragShape : function() {