Sunday 8 October 2023

How to Add Floating Notes to PlantUML Activity Diagrams

We can add note to the activity diagram using ‘floating note right’, ‘floating note left’ keywords.

floatingNote.txt

@startuml

start

:activity1;
floating note left: This is activity1

:activity2;
floating note right
	This is activity2 and this note
	can span across multiple lines and
	can support <b>HTML</b> tags.
end note

stop

@enduml

Above snippet generate below diagram.



 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment