This code allows to visualize Dijkstra's algorithm using JavaScript.
Just click the desired root node with the mouse. Then, use the space to execute each step of the algorithm.
- Priority Queue based on Mourner's code https://github.com/mourner/flatqueue