class_docstr: Node that displays image data in an ImageView widget
class_docstr_tok: ["Node","that","displays","image","data","in","an","ImageView","widget"]
code: def process(self, data, display=True):
      ## if process is called with display=False, then the flowchart is being operated
      ## in batch processing mode, so we should skip displaying to improve performance.
  
      if display and self.view is not None:
          ## the 'data' argument is the value given to the 'data' terminal
          if data is None:
              self.view.setImage(
                  np.zeros((1, 1))
              )  # give a blank array to clear the view
          else:
              self.view.setImage(data)
  
file_path: pyqtgraph/pyqtgraph/examples/FlowchartCustomNode.py
imports: import numpy
  import pyqtgraph
  import pyqtgraph.flowchart.library
  from pyqtgraph.flowchart import Flowchart, Node
  from pyqtgraph.flowchart.library.common import CtrlNode
  from pyqtgraph.Qt import QtWidgets
label_desc: Use image node_id 3 for calling the ImageViewNode obj's underlying member method code with example usage: obj.process(data, display) without return types