Beautiful visualization of how different algorithms expand through road graphs.
Compare Dijkstra, A*, and Greedy Best-First on a live road graph between two cities. Watch each algorithm's wavefront expand node by node, inspect the final route, and see which paths are optimal.
- Animated wavefront expansion over a real road network
- Side-by-side algorithm comparison with distance, nodes expanded, and runtime
- Toggleable map layers for route, expansion edges, nodes, and endpoints
- Recenter control that fits the full computed route on screen
- Optional chat assistant (Groq) for questions about routing and the current results
| Algorithm | Behavior |
|---|---|
| Dijkstra | Uniform-cost search. Optimal, but expands many nodes. |
| A* | Heuristic-guided. Optimal with fewer expansions in practice. |
| Greedy Best-First | Fastest expansion, but not always optimal. |
copy .env.example .env
docker compose up --buildIf dependencies change, rebuild:
docker compose up --buildSet VITE_GROQ_API_KEY in .env to enable the Chats tab. Routing and visualization work without it.
npm install --legacy-peer-deps
npm run dev