relative rotation graph