Function pedges() collects the EDGEs of a path into a list, and return this list.
Arguments:
Returns:
Sample graph: (to be used for the following examples)

Example: Calculate the share holding path of each UBO from F001, return the EDGE list of each path
UQLn({_id == "F001"}).le()[:5].n({@human} as UBO) as p return pedges(p)
Result[{"uuid":"1","from":"H001","to":"F001","from_uuid":"3","to_uuid":"1","schema":"hold","values":{"portion":"0.3"}}] [{"uuid":"2","from":"F002","to":"F001","from_uuid":"2","to_uuid":"1","schema":"hold","values":{"portion":"0.7"}},{"uuid":"3","from":"H001","to":"F002","from_uuid":"3","to_uuid":"2","schema":"hold","values":{"portion":"0.4"}}] [{"uuid":"2","from":"F002","to":"F001","from_uuid":"2","to_uuid":"1","schema":"hold","values":{"portion":"0.7"}},{"uuid":"4","from":"H002","to":"F002","from_uuid":"4","to_uuid":"2","schema":"hold","values":{"portion":"0.6"}}]