This category explores the mathematics of connections — the shortest paths, optimal tours, spanning trees, network resilience and the way viruses or information cascade across social graphs. Each interactive Networks model lets you build a graph, tune its parameters and watch classic algorithms unfold one step at a time, from A* and Dijkstra pathfinding to the Travelling Salesman Problem, PageRank, community detection and SIR epidemic dynamics. By experimenting directly you can learn Networks online and develop an intuition for why hubs emerge, how small-world shortcuts shrink distances and what makes a system robust or fragile. These ideas matter because the same graph theory underpins the Internet, transport timetables, supply chains, power grids, the brain and the spread of disease — so understanding them is genuinely useful far beyond the screen.
Graphs, paths, flows and spreading processes
Graph theory underpins the modern world — routing packets across the Internet, mapping protein interactions, scheduling airline connections and modelling how information (or disease) spreads through a social network. Here you can interact with the core algorithms step by step.
Core graph theory and network science ideas
Articles and references about graph algorithms
Social networks, epidemic spread, random graphs, and connectivity — visualised
Networks and graph theory simulations model the structure and dynamics of interconnected systems. Network-growth simulations implement preferential attachment (the Barabási–Albert model) and show how hubs emerge naturally in real-world networks like the internet, social platforms, and airline routes. SIR epidemic simulations propagate infections across contact networks, demonstrating why highly-connected hubs are disproportionately important for disease control.
Community detection algorithms partition nodes into clusters using spectral methods and label propagation. Shortest-path visualisers run Dijkstra and BFS on weighted graphs with hundreds of nodes, animating the frontier expansion. These tools model the same graph-theory concepts underlying Google's PageRank, Facebook's friend recommendations, power-grid resilience analysis, and epidemiological contact tracing.
Network theory is one of the most cross-disciplinary sciences of the 21st century. The same mathematical frameworks describe the internet, metabolic networks, power grids, social relationships, and ecological food webs. Graph theory originated with Euler's 1736 solution to the Königsberg bridge problem and has since become essential to algorithm design, epidemiology, neuroscience, and the study of complex systems in virtually every domain.
Topics and algorithms you'll explore in this category
Common questions about this simulation category
Every Networks simulation in this collection runs instantly in your browser, so you can learn Networks online without any installation or setup. Each interactive Networks model — from pathfinding and minimum spanning trees to PageRank, max-flow and SIR epidemic spreading — is fully adjustable, letting you change graph size, weights and parameters and immediately see the effect. These same graph-theory techniques power real-world applications such as routing data packets across the Internet, planning logistics and transport networks, and tracing how diseases or rumours propagate through social connections.