Discrete and continuous models in the theory of networks. (2020)