code: def dump_graph(
      dot_string,
      show_svg=True,
      dot_file_path="",
      output_dot_string=False,
  ):
      """Output dot_string in various formats."""
      if dot_file_path:
          try:
              dot_file = open(dot_file_path, "w+")
              dot_file.write(dot_string)
              dot_file.close()
          except IOError:
              print("Cannot open file: " + dot_file_path)
      if show_svg:
          from IPython.display import display
          from IPython.display import SVG
  
          src = Source(dot_string)
          display(SVG(src.pipe(format="svg")))
      if output_dot_string:
          return dot_string
      return None
  
imports: import html
  import json
  import warnings
  from graphviz import Digraph
  from graphviz import Source
  import tvm
label_desc: Use image node_id 16 for calling a global function with example usage: dump_graph(dot_string, show_svg, dot_file_path, output_dot_string) and returns: None, dot_string