Hi, i have to retrieve a hierarchical json for displaying a force directed tree in d3.js but i can't figure out how to format output data of apoc.convert.toTree:
MATCH path = (a:Asset)-[:HAS_ASSET *0..]->(b:Asset)
WHERE id(a)=59760
WITH collect(path)...