bumbeishvili / org-chart

Highly customizable org chart. Integrations available for Angular, React, Vue
https://stackblitz.com/edit/web-platform-o5t1ha
MIT License
839 stars 306 forks source link

Query Regarding Adjusting Node Height in org-chart Library #391

Open hen3g opened 2 months ago

hen3g commented 2 months ago

I'm exploring the possibility of not setting a fixed value for nodeHeight in the org-chart library and instead allowing the height of nodes to be determined by the HTML content provided within nodeContent. Has anyone experimented with this approach successfully or found any workarounds? I'd appreciate any insights or suggestions. Thank you!

bumbeishvili commented 2 months ago

You need to specify a fixed value eventually.

You might be able to precalculate heights based on the HTML and supply that value