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.
No comments:
Post a Comment