Tuesday 28 March 2023

PlantUML: Customize actor style to awesome man in use case diagram

Command ‘skinparam actorStyle awesome’ change the actor style to awesome man.

 

awesomeMan.txt

@startuml

skinparam actorStyle awesome

actor passenger
actor admin
actor bank

usecase Login
usecase "Check for availability" as CFA
usecase "Book tiket" as BT
usecase Payment
usecase "Cancel Ticket" as CT
usecase "Check Flight Status" as CFS
usecase "Update Flight Schedule" as UFS
usecase "Validate Card details" as VCD

passenger --> Login
passenger --> CFA
passenger --> BT
passenger --> Payment
passenger --> CT
passenger --> CFS

admin --> UFS
admin --> CT

bank --> VCD

Payment --> VCD


@enduml

 

Above snippet generate below diagram.


 
 

Previous                                                    Next                                                    Home

No comments:

Post a Comment