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