I want to elucidate a bit that this diagram is a type of Feynman diagram. This means it guides us to calculate the integrals that will give us the lifetime of the particle decaying.
Calculable Feynman diagrams can be written for all three forces ( week strong electromagnetic). The W is the exchange particle of the weak force and the two vertices have very well determined values and functional forms.
So the down quark can decay to the up quark because it is energetically possible and the decay is mediated by the W-, is the way to read this diagram. All particles are off mass shell except the neutron, the proton , the electron and the antineutrino_e . Off mass shell means the particles have all the quantum numbers of the particles with their name, except their four vector is off the mass value they have as real particles