Function pnodes()
collects the UUIDs of nodes in a path one after another and returns them in an array.
Arguments:
- Path <path>
Returns:
- Array of nodes UUIDs <array>
Common Usage
Example: Find 10 shortest paths within 5 steps from Card CA001 to CA002, and return arrays after combining the nodes' UUIDs in every path
n({_id == "CA001"}).e()[*:5].n({_id == "CA002"}) as paths
limit 10
return pnodes(paths)