These 2 diagrams are exactly the same.
The first has 2 batteries turned one direction, and the other 2 batteries turned the opposite direction, and on 2 separate lines.
The second has all of the batteries turned the same direction, and all on one line.
The wiring is identical.
The first diagram is a good physical layout for the batteries, the second diagram gives a better feel for the connections.

