popoto
popoto copied to clipboard
Is it possible to start a graph with values instead of labels?
Hello there, how you guys been?
I'd like to start a graph with defined values returned from the database, instead of loading "label nodes" and letting the user select values.
It's like when you run the query "MATCH (r) RETURN r" in Neo4J Browser. This query returns all the values from the database and all relationships between them.
I'd like to set a initial query and load the graph with the returned values.
There's a way to do this?
Please note that:
- I don't want to set just the root node's value, like asked in this question: https://stackoverflow.com/questions/44611031/popoto-js-neo4j-how-to-start-the-graph-with-a-specific-node. I wish to start the entire graph;
- I won't be able to know the values beforehand, so I couldn't create a object to start the graph with.
Thanks in advance, Bruno