New: Open-Source, Large-Scale, Temporal Random Network Generator
ScanLab is happy to share DynamicRandomGraphs: a Python package for the generation of scalable temporal random graphs, by Yanir Marmor and Alex Abbey.
RandomDynamicGraph is a Python package that implements the algorithm from [1] for generating large-scale dynamic temporal random graphs. The package focuses on massive data generation: it uses efficient math calculations, writes to file instead of in-memory when datasets are too large, and supports multi-processing.
Background: Large-scale real-world interaction systems, such as social, technological, and biological networks, are dynamic structures that change with time. There is an increased interest in studying the dynamics and temporal evolution of these systems. One of the ways is by modeling these systems using dynamic temporal networks.
Models for studying networks are primarily static. The work in [1] offered a natural generalization to the Erdős–Rényi static network model, where one assumes that continuous-time Markov processes govern the appearance and disappearance of edges. Thus, the fundamental unit of analysis is the entire history of the network. Edges appear and disappear by making transitions from present to absent or vice versa at certain rates. For example, in temporal random networks, the rate depends on the required probability of having an edge between any two nodes.
The package has many uses, including in epidemiology. Temporal modeling is fundamental in the research and understanding of virality and epidemics: airborne diseases spread over networks of contacts between individuals that change in time, and ideas dynamically spread over social networks.

[1] Zhang, Xiao, Cristopher Moore, and Mark E. J. Newman. “Random graph models for dynamic networks.” The European Physical Journal B 90.10 (2017): 1–14.
Enjoy Reading This Article?
Here are some more articles you might like to read next:
- Unleashing the Power of Absence and Surprise
- Lab Celebration: Eran's RecSys 2025 Paper!
- Paper Alert: What Travelers Say vs. What They Rate
- Congratulations to Roi Alfassi — Part of His Master's Thesis Highlighted at HAI-GEN, IUI'2025!
- From Feelings to Fingerprints: A Talk at the Department of Communication Colloquium
- Reflections from the NetSciX'25 Keynote
- Interpretable Transformation and Analysis of Timelines through Learning via Surprisability (LvS)
- Harnessing AI for Creative Collaboration: Insights from Our Brainwriting Study
- Beyond R0: Unraveling COVID-19's Transmission Mysteries Through Temporal Network Analysis
- Talk at TAU's Cyber Week, June 26, 2023