Free positioning
This commit is contained in:
@@ -40,7 +40,6 @@ mindplot.layout.Node = new Class({
|
||||
},
|
||||
|
||||
isFree: function() {
|
||||
var result = this._getProperty('free');
|
||||
return this._getProperty('free');
|
||||
},
|
||||
|
||||
@@ -48,6 +47,10 @@ mindplot.layout.Node = new Class({
|
||||
return this._isPropertyChanged('free');
|
||||
},
|
||||
|
||||
hasFreeDisplacementChanged: function() {
|
||||
return this._isPropertyChanged('freeDisplacement');
|
||||
},
|
||||
|
||||
setShrunken: function(value) {
|
||||
this._setProperty('shrink', value);
|
||||
},
|
||||
@@ -75,6 +78,13 @@ mindplot.layout.Node = new Class({
|
||||
}
|
||||
},
|
||||
|
||||
resetFreeState : function() {
|
||||
var prop = this._properties['freeDisplacement'];
|
||||
if (prop) {
|
||||
prop.hasChanged = false;
|
||||
}
|
||||
},
|
||||
|
||||
getOrder: function() {
|
||||
return this._getProperty('order');
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user