Generative graph dynamics