#NEWLINE# def add_DF( self , node , parent , color = 'black' , edge_label = None ) : #NEWLINE# #INDENT# name = node . tolabel ( ) #NEWLINE# self . add_node ( name , color = color ) #NEWLINE# if edge_label : #NEWLINE# #INDENT# self . add_edge ( parent , name , color = color , label = edge_label ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . add_edge ( parent , name , color = color ) #NEWLINE# #UNINDENT# return name