The diagram shown is considering light from the point of view of waves. The rays show the direction of these waves. So the two parallel rays incident ARE connected together. The connection is that rays and wavefronts are always perpendicular to each other.
If the point of view of photons is to be considered then one has to talk about the probability amplitude that the photon will go this way and that way.