NETROUTE

Interactive Network Packet Routing Simulator

Experience graph-traversal theory in a live, tactile environment. See exactly how different algorithms make pathfinding decisions.

Breath-First Search (BFS)

BFS explores the graph level by level, radiating outward from the source. It guarantees the path with the fewest hops, treating all edges as having equal weight.

Depth-First Search (DFS)

DFS dives deep into a single path until it hits a dead end, then backtracks. It is rarely optimal for routing, but perfectly demonstrates the dangers of unguided exploration.

Optimal Pathfinding

Dijkstra

Calculates the absolute shortest path factoring in edge weights. The gold standard for positive-weight networks.

Bellman-Ford

Iteratively relaxes all edges. Slower, but can handle negative weights and detect negative cycles.

Ready to see these algorithms in action on a live network graph?