neo4jd3 icon indicating copy to clipboard operation
neo4jd3 copied to clipboard

Close nodes / reset graph

Open nighto opened this issue 6 years ago • 4 comments

I'm having the need to close all nodes / reset graph to empty state, i.e. attaching new nodes to an empty arraying instead of pushing them to existent nodes array.

Just created a fork, will be contributing with a PR soon.

nighto avatar Jul 18 '18 13:07 nighto

I'm using neo4jd3 with a Neo4J server with a search function, so it starts empty and one or more nodes are added to the graph with the search result. User can expand nodes relations. However to redo the search, neo4jd3 for standard appends new nodes to the graph without removing existent nodes. So I needed a function to remove nodes on the graph, so only the search results are shown, not the previous ones.

nighto avatar Jul 18 '18 15:07 nighto

Check #24

jesusalber1 avatar Jul 18 '18 16:07 jesusalber1

检查#24

I used this directly to report an error.

liufan1993 avatar Dec 15 '18 08:12 liufan1993

我需要将所有节点/重置图关闭到空状态,即将新节点附加到空排列而不是将它们推送到现有节点数组。

刚刚创建了一个分支,很快将为PR做出贡献。

Did you finally solve it? How to solve it?

liufan1993 avatar Dec 15 '18 08:12 liufan1993