How to get the id of each node and edge in a path, after "match p=()->(), return p".
MATCH path=()->() WITH nodes(path) AS n, relationships(path) AS r RETURN [node in n | id(n)], r
Be aware you can alo access start and end nodes in the result of
relationships(path) for each relation.
Thanks you very much!