You can use partitions to group the behaviors in an activity diagram.
Parent topic: Grouping the behaviors in activities
Related concepts Partitions