The new, single part is based on a new capsule that contains the parts that you specified. In capsule-based state machine diagrams, you can group selected vertices of a state machine into a single state to reduce some of the complexity of the machine. When you aggregate states, you create a new state that contains the vertices from the selected set.
To aggregate states or parts of a capsule into a single part or state: