Best way to fetch data from a birectional graph upto a certain depth?

I tried it earlier but figured that using the Neo4j client would be better.