We introduce a new approach to constructing networks with realistic features. Our method, in spite of its conceptual simplicity (it has only two parameters) is capable of generating a wide variety of network types with prescribed statistical properties, e.g., with degree or clustering coefficient distributions of various, very different forms. In turn, these graphs can be used to test hypotheses or as models of actual data. The method is based on a mapping between suitably chosen singular measures defined on the unit square and sparse infinite networks. Such a mapping has the great potential of allowing for graph theoretical results for a variety of network topologies. The main idea of our approach is to go to the infinite limit of the singular measure and the size of the corresponding graph simultaneously. A very unique feature of this construction is that with the increasing system size the generated graphs become topologically more structured. We present analytic expressions derived from the parameters of the-to be iteratedinitial generating measure for such major characteristics of graphs as their degree, clustering coefficient, and assortativity coefficient distributions. The optimal parameters of the generating measure are determined from a simple simulated annealing process. Thus, the present work provides a tool for researchers from a variety of fields (such as biology, computer science, biology, or complex systems) enabling them to create a versatile model of their network data.complex networks | sparse graphs | singular measures A s our methods of studying the features of our environment are becoming more and more sophisticated, we also learn to appreciate the complexity of the world surrounding us. The corresponding systems (including natural, social, and technological phenomena) are made of many units, each having an important role from the suitable functioning of the whole. An increasingly popular way of grabbing the intricate structure behind such complex systems is a network or graph representation in which the nodes correspond to the units and the edges to the connections between the units of the original system (1-3). It has turned out that networks corresponding to realistic systems can be highly nontrivial, characterized by a low average distance combined with a high average clustering coefficient (4), anomalous degree distributions (5, 6), and an intricate modular structure (7-9). A better understanding of these graphs is expected and, in many cases has been shown, to be efficient in designing and controlling complex systems ranging from power lines to disease networks (10).As increasingly complex graphs are considered, a need for a better representation of the graphs themselves has arisen as well. Sophisticated visualization techniques emerged (11), and a series of parameters have been introduced over the years (1-3). Very recently one of us (L.L.) proved that, in the infinite network size limit, a dense graph's adjacency matrix can be well represented by a continuous function W ðx; yÞ on th...