eisman / neo4jd3

Neo4j graph visualization using D3.js
https://eisman.github.io/neo4jd3/
MIT License
1.37k stars 422 forks source link

Graph is duplicating expanding nodes #30

Open nighto opened 6 years ago

nighto commented 6 years ago

While connected to a Neo4J endpoint and when double-clicking a node, the graph is duplicating the expanded node, instead of connecting children nodes directly to existent node.

image

In this example, I had a single node returned by initial query, and when double clicked this node, the graph is updated with a new node with the children nodes, instead of connecting the relations to the existent, double-clicked node.

Just to be clear: in the example it works fine, but when connected to a real Neo4J server, this happens.

Just created a fork, will be proposing a PR soon.

nighto commented 6 years ago

With the changes it expands correctly:

image

Aquamarino commented 5 years ago

@nighto i'm encountering the same issue. Seems like the code is out of maintenance.