FlowGrid: optimizing every road — an intelligent traffic management platform
A smart-city traffic platform that models a city as a weighted graph and puts proven algorithms to work: A* and Dijkstra routing, Webster signal timing and Holt-Winters demand forecasting, all in a live control center.
My role. Full-stack developer, 2026. The project is complete and documented below.

City traffic changes hour by hour, but fixed signal timings and simple shortest-path routing ignore congestion — so one busy junction can slow an entire corridor.
A live control center where routes, signal plans and demand forecasts react to simulated traffic — with algorithm benchmarks to compare strategies side by side.
Key features
- 01Control Center with a live network map, congestion index and incidents
- 02Route Planner with A*, Dijkstra, Bellman–Ford and BFS
- 03Emergency green corridor to the nearest hospital
- 04Signal Optimizer using Webster timing
- 05Simulation Lab and Holt-Winters demand forecasting
- 06Algorithm Analytics benchmarks and a documented REST API
The constraint#
Traffic in a city is not static: demand peaks in the morning and evening, incidents close roads, and a single overloaded junction can ripple across a whole corridor. Fixed signal timings and naive shortest-path routing ignore all of that.
What I built#
FlowGrid models a demo city — 18 intersections and 34 road links — as a weighted graph and runs a traffic simulation over it, served by a Flask backend.
- Control Center. A live network map coloured by congestion, with active vehicles, average speed, signal delay and incidents.
- Route Planner. Pick two junctions and compare A*, Dijkstra, Bellman–Ford and BFS, optimising for live traffic, free flow or distance — including alternatives and an emergency green corridor.
- Signal Optimizer. Webster’s method turns predicted flows into signal timing plans.
- Simulation & analytics. A simulation lab, Holt-Winters demand forecasting and benchmarks that compare algorithms on the same network.
What was hard#
- Fair comparisons. Benchmarking algorithms only means something when every solver runs on the same network snapshot.
- Believable traffic. Demand has to rise and fall through the day for routing and signal plans to behave realistically.
What I’d do differently#
Import real road networks from OpenStreetMap and feed in live sensor data instead of a synthetic city.



