Flow nets