Dijkstra

Finds shortest paths from a source in an edge-weighted graph

Click a node to use it as the source and restart. Use Home ← → or buttons below for navigation.

Final distance / tree edge Tentative distance / predecessor edge Infinite distance Processing Still to relax Relaxing now