Tuesday, 5 December 2023

PlantUML: Add description to the deployment diagram elements

Using brackets [], we can add description to the deployment diagram elements.

addDescription.txt

@startuml

title "Deployment diagram elements"

actor actor1 #aliceblue;line:blue;line.dotted;text:blue[
This is actor
]

node node1 #white;line:green;line.bold;text:green[
This is node.
<b>HTML</b> <color:blue>styling</color> supported
]

database database1 #silver;line:gold;line.dashed;text:blue [
	This is folder
	You can use separators -, =, ...
	----
	style1
	=====
	style2
	....
	style3
]

@enduml

 

Above snippet generate below diagram.


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment