code: def output_to_graphviz(file, namer=_graphviz_default_namer, block=None):
      
      print(block_to_graphviz_string(block, namer), file=file)
docs: Walk the block and output it in graphviz format to the open file.