Resistor after LEDs, is this right?
The resistors are shown in series with the LEDs.  It doesn't matter what order the four LEDs and the resistor of each LED string are connected in.  You can scramble them any way you want, as long as they stay in series, and you will get the same result.

One way to convince yourself of this is to realize the current is the same for all devices connected in series.  Since the same current goes thru the resistor no matter where you place it in the series string, it drops the same voltage.  That leaves the same remaining voltage for the LEDs, again regardless of order.