Universal Approximation of Edge Density in Large Graphs