Apply styling to groups of nodes.

Number of groups: Number of nodes per group: