networkx/networkx — pull request #1090 by mb3152 (2014-03-31 20:03:32+00:00)
Title: two nodal role functions

I built two different versions of nodal role measures (participation coefficient, and within-module-degree). The nodal_roles_nx.py works with the published Louvain that has been discussed. The nodal_roles_brainx.py works with the brainx classes of weighted_modularity (again, Louvain). The brainx version is faster.