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","."]
docstr: Add a node to the underlying graph.
  Nodes in a Relay IR Module are expected to be added in the post-order.
  
  Parameters
  ----------
  viz_node : VizNode
      A `VizNode` instance.
docstr_tok: ["Add","a","node","to","the","underlying","graph",".","Nodes","in","a","Relay","IR","Module","are","expected","to","be","added","in","the","post-order",".","Parameters","--","--","--","--","--","viz_node",":","VizNode","A","`","VizNode","`","instance","."]
code: def node(self, viz_node: VizNode) -> None:
      """Add a node to the underlying graph.
      Nodes in a Relay IR Module are expected to be added in the post-order.
  
      Parameters
      ----------
      viz_node : VizNode
          A `VizNode` instance.
      """
  
      self._node_id_rpo.appendleft(viz_node.identity)
  
      if viz_node.identity not in self._graph:
          # Add the node into the graph.
          self._graph[viz_node.identity] = []
  
      # Create TermNode from VizNode
      node = TermNode(viz_node)
      self._id_to_term_node[viz_node.identity] = node
  
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 2 for calling the TermGraph obj's underlying member method code with example usage: obj.node(viz_node) without return types