code: def __init__(self):
      self.dragPoint = None
      self.dragOffset = None
      self.textItems = []
      pg.GraphItem.__init__(self)
      self.scatter.sigClicked.connect(self.clicked)
  
file_path: pyqtgraph/pyqtgraph/examples/CustomGraphItem.py
imports: import numpy
  import pyqtgraph
  from pyqtgraph.Qt import QtCore
label_desc: Use image node_id 1 to create a new Graph object from inherited base classes: pg with example: obj = Graph()