-
Notifications
You must be signed in to change notification settings - Fork 424
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
How to reset the data with new data, not append. #14
Comments
@BenDerPan Could you tell me how to get neo4j json data? |
you can get it from ajax or websocket , that means you need to build a web server which support json api(like resfFul API) or websockets first, and the server provide you the data you need for neo4j. |
@BenDerPan Have you found a way to solve this problem? |
@blinkcat sorry I have gave it up... maybe you can use d3.js to do so. |
New pull request to support this functionality #24 . It follows the same idea as updateWithNeo4jData but it replaces the nodes and relationships instead of adding them to the current graph. |
@jesusalber1 Nice work!Thanks. |
I get new neo4j json data from websocket, and I want to repalce the old data with the new data, but updateWithNeo4jData or updateWithD3Data always append the new data to the old one , how can I clear the old data before it render the new ones?
The text was updated successfully, but these errors were encountered: