neo4j-contrib / neovis.js

Neo4j + vis.js = neovis.js. Graph visualizations in the browser with data from Neo4j.
Apache License 2.0
1.59k stars 324 forks source link

Whether the node can be retrieved after expansion #375

Open SeXyTeA-x opened 9 months ago

SeXyTeA-x commented 9 months ago

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 commented 9 months ago

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