docs: def update_meta_data_for_transition_waypoints(graphical_editor_view, transition_v, last_waypoint_list, publish=True):
      """This method updates the relative position meta data of the transitions waypoints if they changed
  
      :param graphical_editor_view: Graphical Editor the change occurred in
      :param transition_v: Transition that changed
      :param last_waypoint_list: List of waypoints before change
      :param bool publish: Whether to publish the changes using the meta signal
      """
  
      from rafcon.gui.mygaphas.items.connection import TransitionView
      assert isinstance(transition_v, TransitionView)
  
      transition_m = transition_v.model
      waypoint_list = get_relative_positions_of_waypoints(transition_v)
      if waypoint_list != last_waypoint_list:
          transition_m.set_meta_data_editor('waypoints', waypoint_list)
          if publish:
              graphical_editor_view.emit('meta_data_changed', transition_m, "waypoints", False)