Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-20-2022 04:54 PM
Neo4j Browser visualizes all nodes + edges if you query: 'match (a:thing),(b:action) return *'
I want that node & edge data, but formatted separately, like:
{
nodes:['dog','cat','rat'],
edges:[['dog','does','bite'], ['cat','does','scratch'],['dog','chases','cat']]
}
I'm come up with a monstrous cypher query below... but it only returns (a:thing)-[r:does]-(b:action) and does not return ['dog','chases','cat'] (which would be (a:thing)-[r1:chases]-(a:thing)
Please help.. there must be an easier or more elegant way to fetch separate node/edge data?
All the sessions of the conference are now available online