code: def get_flow_by_id(self, flow_id):
          
          tmp_flows = self.diagram_graph.edges(data=True)
          for flow in tmp_flows:
              if flow[2][consts.Consts.id] == flow_id:
                  return flow
docs: 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.