In Neo4j 3.5.* when using algo.kShortestPaths.stream() for calculating a number of shortest paths using weights between two nodes, there was the option to set the direction by using {direction:'OUT'}.
Currently I am using Neo4j 4.2.4 and calling gds....