Are these two diagrams equivalent

I have this diagram taken from a breadboard, where the project works, its the one on the left.

I tried moving it over to a pcb and it came out a little different (on the right). I can fix it to make it exactly like the breadboard original, but I just want to know if they are electrically equivalent:

No they are NOT the same. The second one (right) sends batt through the flex sensor to ground, so depending on the resistance of the flex sensor, could end up being a short. You need to get the resistor connected to the other side of the batt node.

Right now, as long as you don't short out the power and shut down the chip, the reading will be wrong. It will remain unchanged for a period of time while the sensor is bent, then nosedive fast as the chip shuts down.