moved generate_data_flow_graph out of WorkloadPool class