Dijkstranasi is an interactive web application that visualizes the shortest path between locations in various Indian cities using Dijkstra's algorithm. Select a city, pick start and end points, and watch the algorithm in action!
- 🌆 Choose from multiple Indian cities (Mumbai, Delhi, Bangalore, Chennai, Varanasi, Ranchi)
- 🗺️ Interactive map view for selecting start and end locations
- 🚦 Visual step-by-step execution of Dijkstra's algorithm
- 🎨 Modern, responsive UI with animated transitions
Try it live: https://dijktranasi.vercel.app/
-
Clone the repository:
git clone https://github.com/yourusername/dijkstranasi.git cd dijkstra-visualizer -
Install dependencies:
npm install
Start the development server:
npm run devThen open http://localhost:5173 in your browser.
npm run buildsrc/components/— Vue components (Landing page, Map view, Loader, etc.)src/functions/— Core logic (Dijkstra's algorithm, adjacency builder, etc.)src/assets/— City map data in JSON formatpublic/— Static assets
MIT
