Adaptive Network Voter Model

Opinions (blue/red) + rewiring coevolve — phase transition to fragmentation or consensus

At each step: pick random active edge
With prob φ: rewire (disconnect, avoid opponent)
With prob 1-φ: copy neighbor's opinion
φ > φ_c → fragmentation
φ < φ_c → consensus
φ_c ≈ μ/(μ+1) for mean-field