Skip to content

Initial State #390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BartekMilew opened this issue Apr 8, 2022 · 1 comment
Open

Initial State #390

BartekMilew opened this issue Apr 8, 2022 · 1 comment

Comments

@BartekMilew
Copy link

BartekMilew commented Apr 8, 2022

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?

bug

What is the actual behavior/output?

can't render initial state

What is the behavior/output you expect?

initial layout will be made.

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

no

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

now. v3, previously v1

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

When i make a initial data with selected one node In Version v1 i map my data and insert _collapsed=true and in selected path node _collapsed=false
in Version v3 i try to do the same but with __rd3t.collapsed and it is not working... what can i do ?

@chriszrc
Copy link

#402 is also asking similar question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants