class_docstr: Abstract class for nodes with auto-generated control UI
class_docstr_tok: ["Abstract","class","for","nodes","with","auto-generated","control","UI"]
code: def restoreState(self, state):
      Node.restoreState(self, state)
      if self.stateGroup is not None:
          self.stateGroup.setState(state.get("ctrl", {}))
  
imports: import numpy
  from ...Qt import QtCore, QtWidgets
  from ...WidgetGroup import WidgetGroup
  from ...widgets.ColorButton import ColorButton
  from ...widgets.SpinBox import SpinBox
  from ..Node import Node
label_desc: Use image node_id 6 for calling the CtrlNode obj's underlying member method code with example usage: obj.restoreState(state) without return types