Skip to content

Question: Manually collapsing a particular node #437

@onlyreddy

Description

@onlyreddy

Hi,

In my requirement, I need manually to collapse a node. I tried with collapsible property and with the mouse click on the node it's working.

But I need to do it manually so I tried to call onClickNode() by using the ref provided by the Graph component unfortunately it's not working. Then I checked in your project source code and there also's handled in onClickNode.

Can you help me to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions