This self-contained book systematically explores the statistical dynamics on and of complex networks with a special focus on time-varying networks. In the constantly changing modern world, there is an urgent need to understand problems related to systems that dynamically evolve in either structure or function, or both. This work is an attempt to address such problems in the framework of complex networks.