class_docstr: Terminal graph for a relay IR Module
  
  Parameters
  ----------
  name: str
      name of this graph.
class_docstr_tok: ["Terminal","graph","for","a","relay","IR","Module","Parameters","--","--","--","--","--","name",":","str","name","of","this","graph","."]
code: def __init__(self, name: str):
      self._name = name
      # A graph in adjacency list form.
      # The key is source node, and the value is a list of destination nodes.
      self._graph = {}
      # a hash table for quick searching.
      self._id_to_term_node = {}
      # node_id in reversed post order
      # That mean, root is the first node.
      self._node_id_rpo = deque()
  
imports: from collections import deque
  from typing import Dict, Union, Tuple, List
  import tvm
  from tvm import relay
  from .interface import DefaultVizParser, Plotter, VizEdge, VizGraph, VizNode, VizParser
label_desc: Use image node_id 1 to create a new TermGraph object from inherited base classes: VizGraph with example: obj = TermGraph(name)