Each lamp wants exactly that many lit lines around it, in one closed circuit.
Grid 1 · Lamps 0 / 16 · Lines 0 · Flow x1
Tap between two posts to light a line. Keep going and the flow builds.
Tap again to cross it out, once more to clear. Pauses cost the flow.