I am trying to find the distance between two nodes in a graph using Dijkstra’s algorithm (although I suppose another algorithm would work so long as it provides the same res