AQL return graph of only unique vertices and edges

25 views
Skip to first unread message

Kieran Sweeney

unread,
Jun 21, 2020, 4:04:12 PM6/21/20
to ArangoDB

Here is the result of a graph traversal in the Arangodb Web interface. How can I get the list of unique edges and vertices that paint this graph? I have tried but can only do so with two queries, one for edges and the other for vertices both with the same criteria (except the edge query uses 'in a+1 .. b whereas the vertex query uses 'in a..b'). Both return distinct. 

Thanks in advance for your consideration. This is seemingly trivial, but I can't figure out the singular elegant AQL query for this question.

Reply all
Reply to author
Forward
0 new messages