This example is a small weighted map. Press Run to watch Dijkstra’s algorithm settle the nearest unsettled node at each step and update the distance table whenever it finds a shorter route from A.
Worked examples: Dijkstra’s algorithm · Breadth-first search · Depth-first search · Topological sort · Minimum spanning tree