If all nodes are in their own community, then δ(ci, cj) is always 0 since ci is always different from cj, except in the cases where i=j. Since our graph does not have a self-loop (a node connected to itself), Aii is always equal to zero and only the negative term in the sum remains. So in that particular case, the modularity Q is negative. In the following, we will write it as Qdiag and its value for our graph is Qdiag=-0.148.





















































