|
public created(){
for(var i=0;i<this.diagram.nodes.length;i++){
if((this.diagram.nodes[i].shape as TextModel).content==="Hierarchical Tree"
|| (this.diagram.nodes[i].shape as TextModel).content==="Management"){
this.diagram.nodes[i].isExpanded= false;
}
}
this.diagram.dataBind();
} |