code: def draw_computational_graph(outputs, filepath):
      """Draw a computational graph and write to a given file.
  
      Args:
          outputs (object): Output(s) of the computational graph. It must be
              a Variable, an ActionValue, a Distribution or a list of them.
          filepath (str): Filepath to write a graph without file extention.
              A DOT file will be saved with ".gv" extension added.
              If Graphviz's dot command is available, a PNG file will also be
              saved with ".png" extension added.
      """
      variables = collect_variables(outputs)
      g = chainer.computational_graph.build_computational_graph(
          variables
      )
      gv_filepath = filepath + ".gv"
      with open(gv_filepath, "w") as f:
          f.write(g.dump())
      if is_graphviz_available():
          png_filepath = filepath + ".png"
          subprocess.check_call(
              ["dot", "-Tpng", gv_filepath, "-o", png_filepath]
          )
  
imports: import subprocess
  import chainer.computational_graph
  import chainerrl
label_desc: Use image node_id 3 for calling a global function with example usage: draw_computational_graph(outputs, filepath) without return types