Инструмент:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuNBAJrBGjLDmpCbCJbMmKiX8pSd9vt98pKi1IW80?switch

(я использую Google Chrome, в Internet Explorer не всегда работает)

 

Документация:

http://plantuml.com/activity-diagram-beta

 

Коротко из опыта:

 

Activity Diagram

(текст для копирования под рисунком)

 

 

 

@startuml

start

 

:Activity_01_standard_color;

note right

 Comment to Activity_01        

end note

-> Comment to the transmission;

 

repeat

 

#LightGreen: Activity_02_green_color;

 note right

         Comment to Activity_02        

 end note

 

 

while(Cycle_01_question) is (Cycle_01_Answer_one)

#LightGreen: Activity_03_green_color;

endwhile (Cycle_01_Answer_another)

 

 

#LightGrey: Activity_04_grey_color;

-> Comment to the transmission;

 

if (If_01_question?) then (If_01_Answer_one)

 #LightPink: Activity_05.01_pink_color;

else (If_01_Answer_another)

 #LightPink: Activity_05.02_pink_color;

endif        

 

 

repeat while(Repeat_question) is (Repeat_comment)

Stop

@enduml

 

State Diagram

 

 

 

http://plantuml.com/state-diagram

 

@startuml

 

[*] -> Кровать

Кровать -> Собрался

Собрался -> Кровать

 

Собрался -> Академия

 

Академия -> Работа

 

Работа -> Работа

 

@enduml



© 2018 | Анна Петросян | pashelp@yandex.ru