myDiagram.addDiagramListener("InitialLayoutCompleted",function(e){
e.diagram.findTreeRoots().each(function(r){r.expandTree(3)});
})
first,this can expand 3 step,then i remove the “div#myDiagram” and init this again,it could not expand 3 step ,how to solve this problem,thanks