Lines With Multiple Hops

All, I’m trying to figure out how to make lines hop where one hop is over, and the next hop is under.

Basically, trying to accomplish this:

That was done obviously with two green lines, and then played with “bring forward” and “send backward” (not sure of the proper term for that) to accomplish the desired effect. But I’d rather use a single green line.

Is this the only way?