Step 1: Understanding diffraction.
For diffraction at the first maximum, the path difference between the rays coming from the edges of the slit is \( \lambda \). The phase difference corresponding to a path difference of \( \lambda \) is \( 2\pi \) radians.
Step 2: Conclusion.
Thus, the phase difference between the rays coming from the edges of the slit is \( 2\pi \) radians, corresponding to option (B).