SIR model on a network. R₀ = β/γ; herd immunity threshold p_c = 1 − 1/R₀. The epidemic percolates through the susceptible population, halting when the infected cluster fragments. Vaccinated nodes (blue) are removed from the network.