class_docstr: Class to traverse the DAG of nodes.
docstr: Init method for Traverser.
  
  Args:
    visitor: A `Visitor` object.
docstr_tok: ["Init","method","for","Traverser",".","Args",":","visitor",":","A","`","Visitor","`","object","."]
code: def __init__(self, visitor: Visitor):
      """Init method for Traverser.
  
      Args:
        visitor: A `Visitor` object.
      """
      self._cached_value_nodes_values: Dict[ValueNode, Any] = {}
      self._stack: List[OperationNode] = []
      self._visitor = visitor
  
imports: import abc
  import collections
  import dataclasses
  from typing import Any, Collection, Dict, List, Optional, Tuple
  import pydot
label_desc: Use image node_id 1 to create a new Traverser object  with example: obj = Traverser(visitor)