def get_flows_list_by_process_id(self, process_id):
tmp_flows = self.diagram_graph.edges(data=True)<EOL>flows = []<EOL>for flow in tmp_flows:<EOL><INDENT>if consts.Consts.process in flow[<NUM_LIT:2>] and flow[<NUM_LIT:2>][consts.Consts.process] == process_id:<EOL><INDENT>flows.append(flow)<EOL><DEDENT><DEDENT>return flows<EOL>
Gets an edge (flow) with requested ID.
Returns a tuple, where first value is node ID, second - a dictionary of all node attributes.

:param process_id: string object, representing an ID of parent process element.