code: def graphviz(filename):
      print("/*")
      print(
          " * Graphviz of '%s', created %s" % (filename, datetime.now())
      )
      print(" * Generated from https://github.com/rm-hull/sql_graphviz")
      print(" */")
      print('digraph g { graph [ rankdir = "LR" ];')
  
      for i in grammar().parseFile(filename):
          if i != "":
              print(i)
      print("}")
  
file_path: auptimizer/docs/Database/sql_graphviz.py
imports: import sys
  from datetime import datetime
  from pyparsing import alphas, alphanums, Literal, Word, Forward, OneOrMore, ZeroOrMore, CharsNotIn, Suppress, QuotedString, Optional
label_desc: Use image node_id 7 for calling a global function with example usage: graphviz(filename) without return types