original_docstring: Add an edge to the graph
docstring: Add an edge to the graph
docstring_tokens: Add an edge to the graph
code: def add_edge(self, node1, node2, label):
          """Add an edge to the graph"""
          if (node1, node2) not in self.edges:
              self.edges[(node1, node2)] = label
          elif self.edges[(node1, node2)] != label:
              logger.warning("Graph label (%s,%s) has two labels: %r and %r",
                             node1, node2, self.edges[(node1, node2)], label)
code_tokens: def add_edge ( self , node1 , node2 , label ) : if ( node1 , node2 ) not in self . edges : self . edges [ ( node1 , node2 ) ] = label elif self . edges [ ( node1 , node2 ) ] != label : logger . warning ( "Graph label (%s,%s) has two labels: %r and %r" , node1 , node2 , self . edges [ ( node1 , node2 ) ] , label )
short_docstring: Add an edge to the graph
short_docstring_tokens: Add an edge to the graph
comment: """Add an edge to the graph"""