Functional design of data flow networks