adding community modularity to graph properties