Algorithm visualizer is a react base web app where we can visualize and play with algorithm.
- Dijkstra
-
Basic coding knowledge
-
Some concept about data structure and algorithm
-
Maths
-
Clone the project
-
Open terminal and write
npm i // or yarn add -
To run the code
npm start // or yarn start
Dijkstra is very popular algorithms. It found the sortest path between two nodes . It works in weight grarph. To find the sortest path we can use adjecency matrix or adjecency list . Here i use adjecency List .
Use CanvasExample.js to modify the mapData. I've change the way how the map for nodes and edges is built.
Note that Y axis is inverted.
-----> X+
|
|
|
v Y+
- It is not mobile responsive
- Please use Chrome browser (Recomended)