Monday 20 March 2023

PlantUML: How to create an actor in usecase diagram?

An actor can be defined

a.   By enclosing the actor name in colons (:)

b.   By enclosing the actor name in double quotes

c.    Using actor keyword

 

createActor.txt

@startuml
:actor1:
:actor2: as act1

actor actor3
actor actor4 as act4

"actor5"
"actor6" as act6
@enduml

 

Above snippet generate below diagram.

 


 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment