  We study a model of network with clustering and desired node degree. The
original purpose of the model was to describe optimal structures of scientific
collaboration in the European Union. The model belongs to the family of
exponential random graphs. We show by numerical simulations and analytical
considerations how a very simple Hamiltonian can lead to surprisingly
complicated and eventful phase diagram.
