My question is: is it possible to implement Dijkstra's algorithm using Cypher? The explanation on the neo4j website only talks about the REST API, and it is very difficult to understand for a beginner like me.
Note that I want to find the shortest path with the smallest distance between two nodes, and not the shortest path (with the least number of relations) between two nodes. I know about the shortestPath algorithm, which is very easy to implement using Cypher, but it does not serve my purpose.
Please advise me how to proceed if I have a graph database with nodes and relationships between nodes that have the distance property. All I want to do is write code with which we can find out the shortest distance between two nodes in the database. Or any tips if I need to change my approach and use some other program for this?
Shazu source share