Generating dynamic networks