class_docstr: Visualize the debug information.
code: def _collcetion_to_dict(self):
      # pylint: disable=not-an-iterable
      for info in self._node_collection:
          for node in info.values():
              node["in"] = [i.to_dict() for i in node["in"]]
              node["out"] = [i.to_dict() for i in node["out"]]
  
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 11 for calling the Visualizer obj's underlying member method code with example usage: obj._collcetion_to_dict() without return types