Figure 6: Dijkstra's search.