Support connection in any node.

This commit is contained in:
Paulo Veiga
2011-09-14 08:51:38 -03:00
parent 5a08728686
commit 304f9f4c97
6 changed files with 41 additions and 27 deletions

View File

@@ -35,6 +35,10 @@ mindplot.model.NodeModel = new Class({
this._notes = [];
},
getPropertiesKeys : function() {
return Object.keys(this._properties);
},
putProperty : function(key, value) {
$defined(key, 'key can not be null');
this._properties[key] = value;