It works!!!
Great community support.
Thank you!
On Wednesday, October 5, 2016 at 1:09:43 PM UTC-4, Allen Zhao wrote:
>
> Hi There,
>
> Want to figure a way to query a sub graph. E.g. I want to query from a
> startVertex with depth 2 and list all nodes and edges in a sub-graph json.
>
> I can u
Hey Allen,
maybe you can just return the traversal path? Example query:
FOR v, e, p IN 2..2 OUTBOUND "yourColl/startVertex" edgeCollection
RETURN p
[
{
"vertices": [
{"_id": "yourColl/startVertex", "x": 100, "y": 100},
{"_id": "yourColl/anotherVertex", "x": 200, "y": 300},