Sunday, 29 October 2023

PlantUML: Add Labels to Activity Diagram Arrows

Using ->, ; you can add text to the arrow.

 

Example

->This is arrow1 description;

 

addTextToArrow.txt

@startuml

start

:Activity1;
->This is arrow1 description;

:Activity2;
->This is arrow2
multi line description;

:Activity3;
->This is arrow3
multi line description;

stop

@enduml

 

Above snippet generate below diagram.

 


 

Previous                                                    Next                                                    Home

No comments:

Post a Comment