def get_edge(self, src_or_list, dst=None):
if isinstance( src_or_list, (list, tuple)) and dst is None:<EOL><INDENT>edge_points = tuple(src_or_list)<EOL>edge_points_reverse = (edge_points[<NUM_LIT:1>], edge_points[<NUM_LIT:0>])<EOL><DEDENT>else:<EOL><INDENT>edge_points = (src_or_list, dst)<EOL>edge_points_reverse = (dst, src_or_list)<EOL><DEDENT>match = list()<EOL>if edge_points in self.obj_dict['<STR_LIT>'] or (<EOL>self.get_top_graph_type() == '<STR_LIT>' and edge_points_reverse in self.obj_dict['<STR_LIT>']):<EOL><INDENT>edges_obj_dict = self.obj_dict['<STR_LIT>'].get(<EOL>edge_points,<EOL>self.obj_dict['<STR_LIT>'].get( edge_points_reverse, None ))<EOL>for edge_obj_dict in edges_obj_dict:<EOL><INDENT>match.append( Edge( edge_points[<NUM_LIT:0>], edge_points[<NUM_LIT:1>], obj_dict = edge_obj_dict ) )<EOL><DEDENT><DEDENT>return match<EOL>
Retrieved an edge from the graph.

        Given an edge's source and destination the corresponding
        Edge instance(s) will be returned.

        If one or more edges exist with that source and destination
        a list of Edge instances is returned.
        An empty list is returned otherwise.