Hi Gunda, I believe you are asking fir the same thing I asked for a couple of days ago. Check this thread:
http://lists.neo4j.org/pipermail/user/2011-April/007932.html As the discussion shows, this feature is currently not available but probably interesting in a lot of settings. At least for you and me ;) Regards, Stephan On Wed, Apr 13, 2011 at 11:23, bhargav gunda <bhargav....@gmail.com> wrote: > Respected, > > I would to know that is there any method to count the number of nodes and > relationships traversed by the traversal framework. > Like path.length() ---> which gives the depth of the tree. So as like that > method is there any direct one? > > For example, > > If a tree consist of several nodes and several relations. And I want to > traverse from a particular node to the end of the tree and the result has > only contains certain period of nodes like if the tree traverse 1000 nodes > and 10000 relationships from a particular node and I want only the result > which contains from node 35 to node 70. > So is there any direct method to get the count list of nodes and > relationships. > > Thanks & Regards, > G. > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user