Use Case Diagram: различия между версиями

Материал из Поле цифровой дидактики
Строка 2: Строка 2:
<uml>
<uml>
@startuml
@startuml
left to right direction
:Main Admin: as Admin
actor Guest as g
(Use the application) as (Use)
package Professional {
 
  actor Chef as c
User -> (Start)
  actor "Food Critic" as fc
User --> (Use)
}
 
package Restaurant {
Admin ---> (Use)
   usecase "Eat Food" as UC1
 
   usecase "Pay for Food" as UC2
note right of Admin : This is an example.
  usecase "Drink" as UC3
 
  usecase "Review" as UC4
note right of (Use)
}
   A note can also
fc --> UC4
   be on several lines
g --> UC1
end note
g --> UC2
 
g --> UC3
note "This note is connected\nto several objects." as N2
(Start) .. N2
N2 .. (Use)
@enduml
@enduml


</uml>
</uml>

Версия 21:41, 21 июля 2022