Tuesday 31 October 2023

PlantUML Activity Diagram Arrows

Using [], we can specify arrow color and style to the arrows in the activity diagram.

 

arrowColorAndStyle.txt

@startuml

start

:Activity1;
-[#blue]->

:Activity2;
-[#red,bold]->red and bold color;

:Activity3;
-[#green,dotted]-> green and dotted;

:Activity4;
-[#gold,dashed]-> gold and dashed;

stop

@enduml

Above snippet generate below diagram.



 


Previous                                                    Next                                                    Home

No comments:

Post a Comment