Edge-based compartmental modelling for infectious disease spread | Synapse