Recall the random graph model (Erdos and Renyi model) \[p(G)=\frac{N_e}{N} \, \mbox{ where } N = \left(\begin{array}{c} N_{v}\\ 2 \end{array}\right),\] \(N\) is the total number of distinct node pairs.
\(p\) measures the proportion of observed ties \(N_e\) to the maximum number of possible ties \(N_v (N_v -1)\). So \(p \propto N_e / N_v^2\).