bkrem / react-d3-tree

:deciduous_tree: React component to create interactive D3 tree graphs
https://bkrem.github.io/react-d3-tree
MIT License
1.06k stars 268 forks source link

useCollapsedData as available in version 1 was removed. is there any way i can maintain current collapse state while updating data within node? #442

Open Subham-Kedia opened 1 year ago

Subham-Kedia commented 1 year ago

Thank you for taking the time to report an issue with react-d3-tree!

Feel free to delete any questions that do not apply.

Are you reporting a bug, or opening a feature request?

opening a new feature request

What is the actual behavior/output?

currently it does not have collapsed state access

What is the behavior/output you expect?

i want access to collapsed state access

Can you consistently reproduce the issue/create a reproduction case (e.g. on https://codesandbox.io)?

[Replace with your answer if relevant]

What version of react-d3-tree are you using?

3.5

If react-d3-tree crashed with a traceback, please paste the full traceback below.

no