apoc.paths Qualified Name Type apoc.paths.toJsonTree apoc.paths.toJsonTree(paths LIST<PATH>, lowerCaseRels BOOLEAN, config MAP<STRING, ANY>) - returns a stream of MAP values, representing the graph as a tree by traversing outgoing relationships. Procedure apoc.path.slice apoc.paths.toJsonTree