code: def dict_to_pdnode(d):
      """Create pydot node from dict."""
      e = dict()
      for k, v in d.items():
          if v is not None:
              if isinstance(v, list):
                  v = "\t".join([str(x) for x in v])
              else:
                  v = str(v)
              v = str(v)
              v = v.replace('"', "'")
              e[k] = v
      pynode = pd.Node(**e)
      return pynode
  
imports: import os
  from functools import reduce
  import numpy
  import pytensor
  from pytensor.compile import Function, builders
  from pytensor.graph.basic import Apply, Constant, Variable, graph_inputs
  from pytensor.graph.fg import FunctionGraph
  from pytensor.printing import pydot_imported, pydot_imported_msg
label_desc: Use image node_id 8 for calling a global function with example usage: dict_to_pdnode(d) and returns: pynode