Monday, 1 May 2023

PlantUML: Add stereotype to the actor in usecase diagram

Using << and >>, we can add stereotype to the actor.

 

actorStereotype.txt

@startuml

actor client << Machine or Human >>
actor server << Application >>

usecase "Login to the system" as login
usecase "Validate client credentials" as VCC

client -> login
server -> VCC

@enduml

 

Above snippet generate below diagram.

 


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment