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

:param flow_id: string with edge ID.