I am looking at visualising neo4j graph data in Tableau but Tableau requires the coordinates to be included in the data before it can plot the nodes in a graph.
By coordinates I just mean an x & y value so that I can plot nodes and edges on a 2d graph. There aren't any geographic/address requirements
Is there any way to return coordinates in a result set using cypher? Something along the lines of
MATCH (j:Job)-[:PARENT_OF]->(w:Workflow)
RETURN j, coords(j), w, coords(w)
There is nothing obvious that I can see having searched the web and also stackoverflow. I have searched the APOC procedures with terms such as "spatial", "coordinates" and "position" but so far I've had no joy.
I'm using neo4j community 3.3.1
EDIT: Looking at howto graph visualization step by step this suggests that you need to use external libraries in order to do this rather than getting the information from neo4j. I appreciate the visualisations are fluid and can be moved about but I would have thought that given the neo4j server has crunched the geospatial algorithms already, it would be something that could somehow be output via a function or procedure.