Zigzag

pattern made up of small corners at variable angles, tracing a path between two parallel lines

Zigzag is a line that goes sharp in one way and then to the opposite way.

Lightning represented by a zigzag line

Lightning is usually drawn with a zigzag line. The letter Z also is a zigzag line.[1]

References

change
  1. zigzag in vocabulary.com