#NEWLINE# def main( debug = False ) : #NEWLINE# #INDENT# this_folder = dirname ( __file__ ) #NEWLINE# workflow_mm = metamodel_from_file ( join ( this_folder , 'workflow.tx' ) , debug = debug ) #NEWLINE# metamodel_export ( workflow_mm , join ( this_folder , 'workflow_meta.dot' ) ) #NEWLINE# example = workflow_mm . model_from_file ( join ( this_folder , 'example.wf' ) ) #NEWLINE# model_export ( example , join ( this_folder , 'example.dot' ) )