class_docstr: Visualize the debug information.
code: def _to_dict(self):
      info = {}
      if self._result:
          info["result"] = self._result
      if self._time_profiler:
          info["time_record"] = [
              i.time_record for i in self._time_profiler
          ]
      if self._nodes:
          info["nodes"] = self._nodes
      if self._trace_nodes:
          info["trace_nodes"] = self._trace_nodes
      if self._data_queues:
          self._collcetion_to_dict()
          info["node_collection"] = self._node_collection
  
      return info
  
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 13 for calling the Visualizer obj's underlying member method code with example usage: obj._to_dict() and returns: info