Skip to content
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

Allow User-Defined Collapsed State for Nodes, Defaults to False if Not Specified #514

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Kamilos1337
Copy link

This update introduces the ability for users to specify which nodes should be collapsed. Previously, it wasn't possible to dynamically control the initial open or closed state of nodes when loading data from an API. With this change, you can now define your node structure with the __rd3t property. By adding __rd3t: { collapsed: true }, the node will be initialized in a collapsed state. This enhancement provides greater flexibility in managing node visibility when working with dynamic data.

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

Successfully merging this pull request may close these issues.

1 participant