Shortest-Path Edge-Cost Explorer

Edit nonnegative edge costs and inspect Dijkstra’s predecessor state.
8 vertices · 11 edges Dijkstra · O(V²)
Source Destination Shortest path
Current result
Ready to explore
Choose endpoints and recompute the route.
— total edge cost
Drag to orbit · Wheel/pinch controls zoom · Click nodes to choose endpoints