A graph using Dijkstra's algorithm to calcualte the shortest path between two nodes.