Great Component! Though I am still missing some features: - Auto-resize if

Great Component!
Though I am still missing some features:

  • Auto-resize if the chart is bigger than the component it is fitted in.
  • Hierarchical levels: assign levels to the nodes so that if one person reports to a boss at level 1 and another person reports to a boss at level 2 (whose boss would be level 1 boss), but those 2 persons are both level 3 they can be shown on the same level (actually, the level 3 person reporting to the level 1 boss would be shown next to the level 2 boss).
  • Set the chart collapsed by default
  • Set showing depth by default (I saw there are 2 methods, but none works for me)

Apart from this, this is a great component!

Please correct me if those functionalities are present, but I did not see them.

Hi Marc, thanks for the feedback!
About auto-resize and hierarchical levels, these are features that the original library does not support and it would be hard to implement, maybe the best would be to ask for those features to the library’s author.
We created a new issue in our GitHub page to add the collapsed by default option, you can track it here: https://github.com/FlowingCode/OrgChartAddon/issues/8#issue-377568199.
Finally, check the latest release of the addon (Version 2.0.3) to use the setChartDepth() option.