The Diffusion Current ID
Since the holes' concentration is high in the p region and it is low in the n region, holes will diffuse across the junction from the p region to the n region.
Likewise, electrons will diffuse the junction from n side to p side.
These two current components add up together to compose the diffusion current ID .Whose direction is from p side to n side, as mention in the diagram.