19. Shifts and graphs