The idea is to assign one variable \(L\) (left) to one end of the edges of the network, and another variable \(R\) (right) to the other end of the edges.
These variables assume the values of the scalar quantity for the nodes at the ends of the edges (both edges \((i,j)\) and \((j,i)\) are considered in the undirected case).
Consider the following example:
Let \(x_i\) be the value for vertex \(i\) of the scalar quantity:
\[L = (x_1, x_1, x_1, x_2, x_2, x_3, x_4, x_3) \\
R = (x_2, x_3, x_4, x_3, x_1, x_1, x_1, x_2)\]
Notice that both lists \(L\) and \(R\) contain each value \(x_i\) a number of times equal to the degree \(k_i\) of node \(i\). In fact \(L\) and \(R\) are permutations of each other.
Hence the means \(\mu_L\) of \(L\) and \(\mu_R\) of \(R\) are equal. Similarly, the standard deviations \(\sigma_L\) of \(L\) and \(\sigma_R\) of \(R\) are the same.