class_docstr: Create `pydot` graph object from Theano function.
  
  Parameters
  ----------
  compact : bool
      if True, will remove intermediate variables without name.
  
  Attributes
  ----------
  node_colors : dict
      Color table of node types.
  apply_colors : dict
      Color table of apply nodes.
  shapes : dict
      Shape table of node types.
class_docstr_tok: ["Create","`","pydot","`","graph","object","from","Theano","function",".","Parameters","--","--","--","--","--","compact",":","bool","if","True",",","will","remove","intermediate","variables","without","name",".","Attributes","--","--","--","--","--","node_colors",":","dict","Color","table","of","node","types",".","apply_colors",":","dict","Color","table","of","apply","nodes",".","shapes",":","dict","Shape","table","of","node","types","."]
docstr: Return unique node id.
  
  Parameters
  ----------
  node : Theano graph node
      Apply node, tensor variable, or shared variable in compute graph.
  
  Returns
  -------
  str
      Unique node id.
docstr_tok: ["Return","unique","node","id",".","Parameters","--","--","--","--","--","node",":","Theano","graph","node","Apply","node",",","tensor","variable",",","or","shared","variable","in","compute","graph",".","Returns","--","--","--","-","str","Unique","node","id","."]
code: def __node_id(self, node):
      """Return unique node id.
  
      Parameters
      ----------
      node : Theano graph node
          Apply node, tensor variable, or shared variable in compute graph.
  
      Returns
      -------
      str
          Unique node id.
      """
      if node in self.__nodes:
          return self.__nodes[node]
      else:
          return self.__add_node(node)
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import os
  from functools import reduce
  from six import iteritems, itervalues
  import theano
  from theano import gof
  from theano.compile import Function
  from theano.compile import builders
  from theano.printing import pydot_imported, pydot_imported_msg
label_desc: Use image node_id 3 for calling the PyDotFormatter obj's underlying member method code with example usage: obj.__node_id(node) and returns: self, self