Custom graph algorithms for Neo4j with own Java and REST APIs