Skip to content

Update values on nodes but keeping the tree nodes opened as they were #507

@cafischer

Description

@cafischer

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

Question (maybe feature request)

What is the behavior/output you expect?

I use a custom node and it has some properties that require some time to load. So I would like to show a loading symbol on the node and update that with the value once it arrives. I would like my users to be able to browse the tree and open certain nodes. When the node values update, the tree should stay open as it was and only the respective node should be re-rendered to display the new value.
It would also be ok if the whole tree is re-rendered but I can state which nodes I want to have open initially.

Is that already possible? How could I do that?

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

3.3.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions