class_docstr: Visualize the debug information.
docstr: Get node queue with given graph data queues.
docstr_tok: ["Get","node","queue","with","given","graph","data","queues","."]
code: def _get_node_queues(self):
      """
      Get node queue with given graph data queues.
      """
      node_queues = []
      for data_queue in self._data_queues:
          node_queue = {}
          for node in self._nodes.values():
              if node["name"] not in self._trace_nodes:
                  continue
              node_queue[node["name"]] = {}
              node_queue[node["name"]]["type"] = node["iter_info"][
                  "type"
              ]
              node_queue[node["name"]]["operator"] = node["op_info"][
                  "operator"
              ]
              node_queue[node["name"]]["in"] = [
                  data_queue[edge] for edge in node["inputs"]
              ]
              node_queue[node["name"]]["out"] = [
                  data_queue[edge] for edge in node["outputs"]
              ]
              node_queue[node["name"]]["op_input"] = node["op_input"]
              node_queue[node["name"]]["op_output"] = node["op_output"]
              node_queue[node["name"]]["next"] = [
                  self._nodes[i]["name"] for i in node["next_nodes"]
              ]
          self._set_previous(node_queue)
          node_queues.append(node_queue)
  
      return node_queues
  
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 2 for calling the Visualizer obj's underlying member method code with example usage: obj._get_node_queues() and returns: node_queues