If you're not after one shortest path, what you want is pattern matching. You traverse from a start node, up to a defined depth, with a filter for the end vertex.
fromCollection and toCollection are meant as vertex collections, so DataCollection in your case for both. Check out our graph course: https://www.arangodb.com/arangodb-graph-course/ How do you want to model connections between people? Using a single edge and ignore the direction? Or allow one-sided connections, honoring the edge direction? -- 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.
