docs: def on_to_outcome_edited(self, renderer, path, new_outcome_identifier):
          """Connects the outcome with a transition to the newly set outcome
  
          :param Gtk.CellRendererText renderer: The cell renderer that was edited
          :param str path: The path string of the renderer
          :param str new_outcome_identifier: An identifier for the new outcome that was selected
          """
          if self.model.parent is None:
              return
          outcome_id = self.list_store[path][self.ID_STORAGE_ID]
          transition_parent_state = self.model.parent.state
          if outcome_id in self.dict_to_other_state or outcome_id in self.dict_to_other_outcome:
              if outcome_id in self.dict_to_other_state:
                  t_id = self.dict_to_other_state[outcome_id][2]
              else:
                  t_id = self.dict_to_other_outcome[outcome_id][2]
              if new_outcome_identifier is not None:
                  new_to_outcome_id = int(new_outcome_identifier.split('.')[2])
                  if not transition_parent_state.transitions[t_id].to_outcome == new_to_outcome_id:
                      to_state_id = self.model.parent.state.state_id
                      try:
                          transition_parent_state.transitions[t_id].modify_target(to_state=to_state_id,
                                                                                  to_outcome=new_to_outcome_id)
                      except ValueError as e:
                          logger.warning("The target of transition couldn't be modified: {0}".format(e))
              else:
  
                  transition_parent_state.remove_transition(t_id)
          else:  # there is no transition till now
              if new_outcome_identifier is not None:
                  to_outcome = int(new_outcome_identifier.split('.')[2])
  
                  try:
                      self.model.parent.state.add_transition(from_state_id=self.model.state.state_id,
                                                             from_outcome=outcome_id,
                                                             to_state_id=self.model.parent.state.state_id,
                                                             to_outcome=to_outcome, transition_id=None)
                  except (ValueError, TypeError) as e:
                      logger.warning("The transition couldn't be added: {0}".format(e))
              else:
                  logger.debug("outcome-editor got None in to_outcome-combo-change no transition is added")