Light emission in complex networks from single-photons to lasing