Monday 8 May 2023

PlantUML: Split use case diagram

Using newpage keyword, we can split the diagram into multiple pages.

 

splitUsecaseDiagram.txt

@startuml

actor user1
actor user2

usecase "use case 1" as UC1
usecase "use case 2" as UC2

user1 -> (UC1)
newpage
user2 --> (UC2)

@enduml

 

Above snippet generate two images.

 

splitUsecaseDiagram.png


 

splitUsecaseDiagram_001.png


 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment