I'm currently using the apoc library to get the shortest path with a cost (length)
apoc.algo.aStar(
startNode, endNode, 'KNOWS|<WORKS_WITH|IS_MANAGER_OF>',
'distance','lat','lon'
) YIELD path, weight
There are two things I need:
How would I go about making it return all possible paths and not just the one?
How would I make it only search egdes where PropertyA: true, PropertyB: false, PropertyC contains "abc", etc..?
The answer doesn't have to be using apoc but can be with CYPHER or C# please. Thanks