How to generate curve meandering around multiple circles

Hi all,

I am trying to create a curve that meanders around a set of circles. Something that looks like this:
image (19)

Unfortunately, I don’t know how to connect lines with certain route. I already created a definition of circles radii (See attached files). It would be great if you guys can give me some pointers. Much appreciated![tangent|attachment] circles.3dm (26.1 KB)tangent (26.0 KB)