Hi Peter

it admittedly makes little sense to use fromDepth(0) & toDepth(0) because
there's obviously no need to run the query at all. Anyway, I'd expect a
behavior consistent with, for example fromDepth(1) & toDepth(1), which
returns only nodes at depth 1 (if I'm not mistaken). So, I'd definitely
modify the code for the sake of consistency. For the same reason, atDepth(0)
should also return the start node.

Cheers
Alex

--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/zero-fromDepth-and-toDepth-tp3474825p3476040.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to