Actor is defined with the keyword ‘actor’.
actor actor1
You can add description to the actor using brackets [].
actor actor2 [This is actor2]
You can add colors to actor element.
actor actor3 #palegreen;line:blue;line.dotted;text:blue[
This is actor 3
]
actor.txt
@startuml title "actor element" actor actor1 actor actor2 [ This is actor2, <b>HTML</b> styling is supported ] actor actor3 #palegreen;line:blue;line.dotted;text:blue[ This is actor 3 ] @enduml
Above snippet generate below diagram.
No comments:
Post a Comment