◈ EVERY DROPMATTERS · SDG 06
NETWORK SIMULATOR GRAPH DATA STRUCTURE
CLEAN WATER & SANITATION · SDG 6

Every drop has
a way home.

One broken pipeline can leave a neighbourhood without water. Explore the network, trigger disruptions, and find another route before the taps run dry.

● GRAPH VISUALIZATION↗ BFS PATHFINDING◉ LIVE SIMULATION
💧
SOURCEEVERY HOME
8 / 8locations receiving water
⌖
CONNECTED LOCATIONS9reachable from reservoir
⚠
AFFECTED LOCATIONS0currently without supply
⟷
PIPELINES DOWN0leak · blockage · maintenance
↗
ALTERNATIVE ROUTES0available to selected area
01 / NETWORK CONTROL ROOM

Water distribution map

Choose a pipeline or location to inspect it. Blue paths carry water; broken links are shown in red.

LIVE NETWORK · ALL SYSTEMS NORMAL
Active Disrupted Water node
SELECT A PIPELINE OR NODE TO INSPECT
03 / NETWORK BUILDER

Expand the network

Add a new location or connect two existing locations. The graph updates instantly.

Connect locationsChoose two nodes on the map after activating connect.
04 / SMART ROUTE FINDER

Find another way

Use breadth-first search (BFS) to find an available path from the reservoir to a location.

Your route analysis will appear here.
05 / THE LOGIC BEHIND THE MODEL

A city network.
One graph.

This simulation represents real-world water infrastructure using vertices and edges. Graph traversal checks which locations remain connected when a pipeline fails.

01
Build the graph

Each reservoir, facility, tank and neighbourhood is a vertex. Each pipeline is an edge.

02
Simulate a disruption

Mark an edge as leaking, blocked or under maintenance. The failed edge is excluded from traversal.

03
Run BFS

Start at the reservoir and visit reachable vertices. Unvisited locations are affected areas.

04
Reroute the supply

Search the remaining graph for another path and highlight the route if one exists.