def open_widget(self): operator = GraphOperator(graph=self.node) operator.vertex_open(self.sender().id)