title: BFS traversal using cypher
body: <p>I need to traverse a directed acyclic graph (DAG) using BFS.
  I am using neo4j via REST API, so my main way of commuication with neo4j is using Cypher.</p>
  
  <p>With Cypher I can retrieve a set of all the paths from a starting node, and from them derive a BFS traversal.</p>
  
  <p>I was wondering if there's a simpler way of getting a BFS traversal using Cypher. What I expect as output would be an array of sets of nodes. </p>