The diagram is about nuclei separation, it has little to do with electron separation. Once electrons are close enough to overlap and form bonds they become indistinguishable, and discussing electron distance from each other becomes a bit meaningless.