I'm using R and the package igraph to plot a network. The many vertices in the graph belong to 50 groups. For each group, I would like to use a unique color/vertex shape combination to distinguish it from the others.
Is there a way to plot some vertices as say circles and others as squares according to their attributes?