#NEWLINE# def add( self , * items ) : #NEWLINE# #INDENT# 'Adds a given task/tasks/flow/flows to this flow.' #NEWLINE# for item in items : #NEWLINE# #INDENT# if ( not self . _graph . has_node ( item ) ) : #NEWLINE# #INDENT# self . _graph . add_node ( item ) #NEWLINE# #UNINDENT# #UNINDENT# return self