The potential drop in a pn junction diode-
The voltage is drawn that way, because voltage drops over the diode when current flows. If it were drawn the opposite way, it would make the diode to increase the voltage when current is flowing, and diodes don't do that.