This project was built with React and is based on Clement Mihailescu's Pathfinding Visualizer project.
It is a web app that helps you visualize how dijkstra's algorithm works, it then finds the shortest path from one node to another and that path is animated with css animations.
All the code can be located in /src/Visualizer.
NodeJS is required.
- clone the repo and
cd visual-dijkstrainto app. - Type
npm install. This builds the app because of"postinstall": "react-scripts build"in package.json. - Type
node app.jsto serve the app athttp://localhost/8080.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.