I have a force directed network with a collection of nodes with various shared attributes, for example color.
I would like to create a way to group these nodes together according to the attribute.
One choice would be color, where different positional enclosed graph areas are created within which only nodes of the same color are located.
How can I accomplish this?