communities: Common functions supporting community detection algorithms
Description
community.to.membership takes a merge matrix, a typical result
of community structure detection algorithms and creates a membership
vector by performing a given number of merges in the merge matrix.