class_docstr: A GraphItem displays graph information as
  a set of nodes connected by lines (as in 'graph theory', not 'graphics'). 
  Useful for drawing networks, trees, etc.
class_docstr_tok: ["A","GraphItem","displays","graph","information","as","a","set","of","nodes","connected","by","lines","(","as","in","'graph","theory","'",",","not","'graphics","'",")",".","Useful","for","drawing","networks",",","trees",",","etc","."]
code: def __init__(self, **kwds):
      GraphicsObject.__init__(self)
      self.scatter = ScatterPlotItem()
      self.scatter.setParentItem(self)
      self.adjacency = None
      self.pos = None
      self.picture = None
      self.pen = "default"
      self.setData(**kwds)
  
file_path: pyqtgraph/pyqtgraph/graphicsItems/GraphItem.py
imports: import numpy
  from ..None import functions
  from ..None import getConfigOption
  from ..Qt import QtCore, QtGui
  from .GraphicsObject import GraphicsObject
  from .ScatterPlotItem import ScatterPlotItem
label_desc: Use image node_id 1 to create a new GraphItem object from inherited base classes: GraphicsObject with example: obj = GraphItem()