Monday, 10 April 2023

PlantUML: Add description to the use case in a use case diagram

If an use case description span across multiple lines, you can enclose the description in double quotes.

 

You can even use following separators to improve readability.

 

1.   -- (dashes)

2.   .. (periods)

3.   == (equals)

4.    __ (underscores)

 

 

addDescription.txt

@startuml

actor passenger

usecase Login as "
	..Login..
	User enter his/her login id and password
	Upon successful validation of credentials
	user will be taken to home page
	--
	dummy1
	==
	dummy2
	__
	dummy3
"
usecase "Book tiket" as BT
usecase Payment

passenger --> Login
passenger --> BT
passenger --> Payment

@enduml

 

Above snippet generate below diagram.

 


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment