Diagrams: различия между версиями

Материал из Поле цифровой дидактики
Нет описания правки
 
(не показано 7 промежуточных версий этого же участника)
Строка 39: Строка 39:
=== uml ===
=== uml ===
<uml>
<uml>
{{
@startuml
@startuml
abstract        abstract
participant User
abstract class "abstract class"
User -> A: DoWork
annotation      annotation
  activate A #FFBBBB
circle          circle
A -> A: Internal call
()             circle_short_form
activate A #DarkSalmon
class          class
A -> B: << createRequest >>
diamond        diamond
activate B
<>              diamond_short_form
B --> A: RequestCreated
entity          entity
deactivate B
enum            enum
deactivate A
interface      interface
A -> User: Done
protocol        protocol
deactivate A
struct          struct
@enduml
}}
</uml>
 
<uml>
{{
@startuml
 
title While Loop - Activity Diagram
 
 
start
 
while (Hungry?)  is (Yes)
  :Eat Hot Wings;
  :Drink Homebrew;
endwhile (No)
 
:Go To Sleep;
 
stop
 
@enduml
@enduml
}}
</uml>
</uml>
[[Category:Diagrams]]

Текущая версия от 14:20, 20 сентября 2022

Примеры использования Extension - Diagrams

  • обещанные форматы - graphviz, mscgen, uml, mermaid.

graphviz +

mscgen

подробности описания


uml