Using APOC, Graph Algorithms, and your own custom procedures