I am new and working on Neovis.js . I want to display data in the drop-down on the basis of the query that I will hit on Neo4j database.
Executing Query is :- "MATCH (n)-[r]-(m) RETURN distinct type(r)"
output is :- type(r) "WAS_MENTIONED_IN" "IS_PART_OF" "WAS_INVOLVED_IN" "IS_FRIEND_OF" "IS_MOTHER_OF" "IS_FATHER_OF" "HAPPENED_IN" "USED_BY" "USED_IN"
I want that the type(r) output will be in an array So, that I can provide it in drop-down option.
Is it feasible with neovis,js or not. If not then please provide any option for this.
I am using below function for displaying graph on web page.
`
neovis.js is only used for neo4j data visualisation. but in your case you want some data that should be populated in dropdown that is returned from query.
so for this you can use simple java or javascript and connect your database with it.
after that you have to run query from it using bolt protocol and then you can perform any operation with this data. basically you need to collect data using statement result .
please let me know if you want to know further more
Main issue is with driver, I think. As i checked on my console. Sometimes _driver: Driver and sometimes _driver:e. I want to know about its driver working. Can you help me on this?
My code snippet:-
Hi, this trouble's been bothering me a lot.
Have you found a solution to this "I unable to get the data from Neo4j as node and edge array is blank in my case.I dont know why this is happening."??
Please help.
Hi, this trouble's been bothering me a lot.
Have you found a solution to this "I unable to get the data from Neo4j as node and edge array is blank in my case.I dont know why this is happening."??
Please help.