Saturday, 13 May 2023

PlantUML: Draw a rectangle around usecases

rectangle.txt

@startuml

left to right direction

skinparam packageStyle rectangle

actor customer as C1

rectangle checkout {
   C1 -- (checkout)
   (checkout) -> (payment) : pay the money
   (payment) -> (notify user)
}

C1 -> (Login)
C1 -> (Logout)

@enduml

 

Above snippet generate below diagram.

 


Previous                                                    Next                                                    Home

No comments:

Post a Comment