Sunday 5 November 2023

Partitioning Activities in PlantUML Activity Diagrams

We can group the activities using partition keyword.

Syntax

partition partitionName{
	activities
}

partition.txt
@startuml

start

partition partition1{
	:activity1;
	:activity2;
	:activity3;
}

partition partition2{
	:activity4;
	:activity5;
	:activity6;
}

stop

@enduml

 

Above snippet generate below diagram.



 

 

 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment