Flow network generator.