class_docstr: A directed edge in a directed graph.
  Stores the source and target node of the edge.
class_docstr_tok: ["A","directed","edge","in","a","directed","graph",".","Stores","the","source","and","target","node","of","the","edge","."]
code: def __eq__(self, obj):
      if isinstance(obj, DirectedEdge):
          return obj.source == self.source and obj.target == self.target
      return False
  
file_path: keon-algos/algorithms/graph/graph.py
label_desc: Use image node_id 2 for calling the DirectedEdge obj's underlying member method code with example usage: obj.__eq__(obj) and returns: False, unknown