codeledge / entitree-flex

Algorithm to layout trees of variable-sized nodes, while keeping linear runtime
https://www.npmjs.com/package/entitree-flex
60 stars 3 forks source link

Opportunity to use it as d3 plugin? #9

Open geohuz opened 1 year ago

geohuz commented 1 year ago

This is a awesome project which provide alternative layout to d3 hierarchy! Is there any opportunity to use it as d3 plugin? I'm trying to use entitree with d3 to provide node collapse expand animation, can it be done?

Thanks!

ogroppo commented 1 year ago

Hi there! although this is not d3 based it could be used to calculate the position of the individual nodes and then be used in conjunction with another framework supporting animation... not hiding it might be a tricky job!