I am guessing here but I bet it is by seeing which one has the higher voltage, by looking at that resistor. Power will always flow from a higher voltage to a lower voltage and if you compare volts in and out of a resistor you can see which end is higher. We are talking about a pretty small delta.