Answer
Electrons move from electrode B to A through the external circuit.
Work Step by Step
Electrode B acts as an anode so it has high electron density, electrode A acts as a cathode so it has low electron density. Therefore electrons flow from B to A i.e, higher electron density to lower.