R/utils.R
colorize_community.Rd
Assign unique color to each community
colorize_community(ig, community_attr_name = "community")
an igraph object
the node attribute that represents the community partition
an igraph object with "color" node attribute