<https://lh3.googleusercontent.com/-QPNk6tcpTlA/WJ00YTapMUI/AAAAAAAACkM/4f2PLpZR8aU77K31fD3rwt6uVyN2TyDAwCLcB/s1600/graph.png>
*Figure 1*
As shown in Fig.1, I want to achieve the function like this: starting
at the vertex 'node/1' and return the results sorted by the degree of (
'node/21' ,'node/11','node/2','node/7')
for example in Fig.1, there are 6 nodes connected with 'node/21' ( does not
include 'node/1') , 8 nodes connected with 'node/11' , 4 nodes connected
with 'node/2', 3 nodes connected with 'node/7'
with AQL I want to return vertex results like : [ 'node/11'
,'node/21','node/2','node/7' ] or vertex info ......
btw, I try to used Subqueries , LENGTH() and sort but it did not works...
--
You received this message because you are subscribed to the Google Groups
"ArangoDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.