def ungroupSelectedNodes(self):
        selDagNodes = self.selectedDagNodes()
        groupNameInDag = self.dag.nodeGroupName(selDagNodes)
        if not groupNameInDag:
            return
        self.graphicsScene.removeExistingGroupBox(groupNameInDag)
        self.dag.removeNodeGroup(nodeListToRemove=selDagNodes)
If all selected nodes are in a group together, remove their node group
dataset/ETHPy150Open andrew-gardner/dependsworkflow/depends/depends_main_window.py/MainWindow.ungroupSelectedNodes