How to force a straight line in Draw.io

draw.io

I am drawing this:

enter image description here

And, I simply cannot make the line straight as all lines should be!
No matter what I move, the line still has that break. Any suggestions?

Best Answer

You can select the resistor (the 'sawtooth') by clicking it, and move it to the right with the right arrow button on your keyboard. This enables you to move it pixel-by-pixel instead of being constrained by the grid lines:

enter image description here

Alternatively (if the objects need to stay where they are but the line needs to be straight) you can adjust the line style in the sidebar widget:

enter image description here