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

Whether the node can be retrieved after expansion #375

Open
SeXyTeA-x opened this issue Dec 7, 2023 · 1 comment
Open

Whether the node can be retrieved after expansion #375

SeXyTeA-x opened this issue Dec 7, 2023 · 1 comment

Comments

@SeXyTeA-x
Copy link

I want to implement a feature that when a node is double-expanded and then double-expanded again, it can be retrieved. The way I've come up with it now is to double-click an expanded node and remove all the neighbors of that node from the canvas, but there is no option to remove the node in neovis.js?

@thebestnom
Copy link
Collaborator

vis.nodes.remove(id)
vis.nodes and vis.edges are https://visjs.github.io/vis-data/data/dataset.html

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

No branches or pull requests

2 participants