Most mathematical models for the spread of disease use differential equations based on uniform mixing assumptions1 or ad hoc models for the contact process2,3,4. Here we explore the use of dynamic bipartite graphs to model the physical contact patterns t