plexus question : extrude along z access

hi all, i'm new to plexus i just want to know to to generate lines from group of lights to the other group (example from the green lights to the yellow lights, i draw the examples in red) and not as shown in the picture.