Skip to content

onNodeClick should trigger a draw call after executing the user provided callback #587

@ricardomatias

Description

@ricardomatias

Is your feature request related to a problem? Please describe.
At the moment, it's not possible to simply update the way a node is drawn when it's clicked. This impacts applications which implement a node selection routine, where the graph stays exactly the same. The current solution is to switch off autoPauseRedraw which is very wasteful and rather a workaround.

Describe the solution you'd like
The library should either implicitly or explicitly call the render function after the 'onNodeClick' callback is executed.

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