Skip to content

Instantly share code, notes, and snippets.

@nicolekorch
Created February 4, 2026 11:53
Show Gist options
  • Select an option

  • Save nicolekorch/67e1c0056cd303d4765a45d8becaa613 to your computer and use it in GitHub Desktop.

Select an option

Save nicolekorch/67e1c0056cd303d4765a45d8becaa613 to your computer and use it in GitHub Desktop.
@startuml
left to right direction
actor "Клиент" as Client
rectangle "Банкомат" {
usecase "Получить деньги" as UC_Main
usecase "Ввести PIN-код" as UC_Pin
usecase "Проверить PIN-код" as UC_CheckPin
usecase "Ввести сумму" as UC_Amount
usecase "Проверить доступность суммы" as UC_CheckAmount
usecase "Выдать деньги" as UC_Cash
usecase "Отказать в выдаче денег" as UC_Reject
}
Client --> UC_Main
UC_Main --> UC_Pin : <<include>>
UC_Main --> UC_CheckPin : <<include>>
UC_Main --> UC_Amount : <<include>>
UC_Main --> UC_CheckAmount : <<include>>
UC_Cash ..> UC_Main : <<extend>>\n[PIN верный\nи средств достаточно]
UC_Reject ..> UC_Main : <<extend>>\n[PIN верный\nно средств недостаточно]
@enduml
@nicolekorch
Copy link
Author

Uml plant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment