The approach could help elucidate relationships between circuit structure and function, as well as the role of natural electrical synapses.