dabeng / OrgChart

It's a simple and direct organization chart plugin. Anytime you want a tree-like chart, you can turn to OrgChart.
MIT License
2.86k stars 768 forks source link

Is there a way to keep the root node from being collapsed on collapseAll? #694

Open jaofrod opened 1 year ago

jaofrod commented 1 year ago

I'm trying to create a multiple root org chart by not displaying a fake root. My problem is that when the method collapseAll is called, all nodes collapse towards the fake root that is no displayed.

I want to know if there is a way to keep the root from being collapsed on collapseAll?