#NEWLINE# def add_edge( self , start , end , color = 'black' , label = None ) : #NEWLINE# #INDENT# if ( not self . withcolor ) : #NEWLINE# #INDENT# color = 'black' #NEWLINE# #UNINDENT# if label : #NEWLINE# #INDENT# self . graph . add_edge ( str ( start ) , str ( end ) , color = color , label = label ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . graph . add_edge ( str ( start ) , str ( end ) , color = color )