A node-link diagram running a javascript implementation of the Dijkstra algorithm. Every time the visualization is refreshed two nodes are selected as start (in red) and end point (in blue). Then the shortest path is computed and shown on the diagram by highlighting the edges.
forked from fabiovalse's block: Dijkstra on node-link diagram
https://d3js.org/d3.v4.min.js
https://d3js.org/d3-selection-multi.v0.4.min.js