Back

Interactive Pathfinding

Visualise Dijkstra's algorithm

An interactive web tool that lets you build a weighted graph, set a starting node, then watch Dijkstra's shortest-path algorithm find its way through step by step. Toggle walkthrough mode to be guided through each iteration of the algorithm table.

Tech Stack

HTML5 CSS3 JavaScript
Calculate paths from:

Ensure all nodes are connected before running.

Algorithm

Result