def remove_core_element(self, model):
        """Remove respective core element of handed transition model

        :param TransitionModel model: Transition model which core element should be removed
        :return:
        """
        assert model.transition.parent is self.model.state or model.transition.parent is self.model.parent.state
        gui_helper_state_machine.delete_core_element_of_model(model)