class_docstr: Visualize the debug information.
code: def __init__(
      self,
      result: Union["DataQueue", List[Any]] = None,
      time_profiler: List[Any] = None,
      data_queues: List[Dict[str, Any]] = None,
      nodes: Dict[str, Any] = None,
      trace_nodes: List[str] = None,
      node_collection: List[Dict[str, Any]] = None,
  ):
      self._result = result
      self._time_profiler = time_profiler
      self._data_queues = data_queues
      self._trace_nodes = trace_nodes
      self._nodes = nodes
      self._node_collection = (
          node_collection
          if node_collection
          else [
              self._get_collection(i) for i in self._get_node_queues()
          ]
          if self._data_queues
          else None
      )
      self._profiler = None
      self._tracer = None
  
imports: import json
  from typing import Union, List, Dict, Any
  from towhee.runtime.time_profiler import TimeProfiler
  from towhee.tools.profilers import PerformanceProfiler
  from towhee.datacollection import DataCollection
  from towhee.utils.lazy_import import LazyImport
  from towhee.utils.log import engine_log
  from towhee.utils.serializer import TritonSerializer, TritonParser
label_desc: Use image node_id 1 to create a new Visualizer object  with example: obj = Visualizer(result, time_profiler, data_queues, nodes, trace_nodes, node_collection)