Minnebar graph theory algorithm presentation This is the basic code to show how Dijkstra's algorithm works. Open up path.html or flow.html in a browser, and you can run Dijkstra's or Edmonds-Karp algorithm, respectively.