Relationships almost working

This commit is contained in:
Paulo Veiga
2011-10-09 17:59:16 -03:00
parent 5d1ab3cb6e
commit a10001dd80
22 changed files with 5033 additions and 126 deletions

View File

@@ -80,6 +80,13 @@ mindplot.DesignerModel = new Class({
this._topics.push(topic);
},
addRelationship : function(id, rel) {
$assert(rel, "rel can not be null");
$assert(id, "id can not be null");
this._relationships[id] = rel;
},
filterTopicsIds : function(validate, errorMsg) {
var result = [];
var topics = this.filterSelectedTopics();