Welcome back, everyone!
The pseudocode is provided below and its elegance will leave you quivering.
The algorithm uses a priority queue to keep track of nodes and edges. It makes sure not to visit the same node twice.
You'll begin with a graph that looks like this:
And finessing the algorithm you can find the shortest path from a start node to all other nodes. Let's say we wanted to commence at node A.
You'll eventually cook something up that looks like this (small feast):
This presentation would not have been possible without Devoy.