From KVL/KCL to Nodal Analysis
Node voltages are heights above sea level. The resistor only cares about the difference.
Cause → effect
Current runs left to right because 8 V is above 3 V.
Displayed V1
8 V
Displayed V2
3 V
VR = V1 − V2
5 V
I = VR / R
2.5 mA
Node voltages
Absolute potentials relative to whatever we called zero. Move ground and these numbers slide together.
Element voltage
Only the difference across the resistor. That difference — and the current it drives — cannot see the ground choice.