Skip to content

Graph not unloading? #131

@daliborfilus

Description

@daliborfilus

Hello, thank you for this react component. I have an issue, where I have this graph component in a functional (pure) react component inside a Material UI tab. Then I load a 300-node graph, which is rendering somewhat slowly, but consistently. But when I switch tabs, the browser remains laggy. When I switch tabs back to the graph, the graph is properly re-drawn, but is now much slower. Switching tabs back and forth just increases the lag.

Looking at the code, it seems to me that you don't unload the visjs network graph on component dismount?

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