Add IMindmap and INode.

This commit is contained in:
Paulo Veiga
2011-09-08 10:03:42 -03:00
parent 21f848e3df
commit 0c216778e5
21 changed files with 248 additions and 149 deletions

View File

@@ -74,7 +74,7 @@ mindplot.layout.BaseLayoutManager = new Class({
},
_isCentralTopic:function(node){
var type = node.getModel().getType();
return type == mindplot.model.NodeModel.CENTRAL_TOPIC_TYPE;
return type == mindplot.model.INodeModel.CENTRAL_TOPIC_TYPE;
},
getClassName:function(){
return mindplot.layout.BaseLayoutManager.NAME;