Sunday 16 April 2023

PlantUML: long arrows in usecase diagram

Arrow (->) is used to connect actors and use cases. More dashes you added to the arrow, the longer the arrow in the diagram.

 

longArrows.txt

@startuml

actor passenger

usecase Login
usecase "Check for availability" as CFA
usecase "Book tiket" as BT
usecase Payment
usecase "Check Flight Status" as CFS
usecase "Cancel Ticket" as CT

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

@enduml

 

Above snippet generates below diagram.

 


  

Previous                                                    Next                                                    Home

No comments:

Post a Comment