Opening the shared document…
Diagram playground
Write a diagram as text and it renders here as you type. Canvas editing for six of ten notations. Nothing leaves your browser. Syntax reference ·
1
archlab 1.0 usecase
2
title "Hotel booking"
3
description "Two systems share one stay: guests book online, staff run the front desk — and the specialised actors inherit everything the general ones may do."
4
5
@usecase
6
actor guest "Guest"
7
actor member "Member"
8
actor receptionist "Receptionist"
9
actor manager "Duty manager"
10
boundary "Booking Site" tint=#a8c8f0
11
usecase browse "Browse rooms"
12
usecase book "Book a room"
13
desc "The one promise both systems keep: a booking made here is exactly what the front desk sees at check-in."
14
usecase redeem "Redeem points"
15
boundary "Front Desk" tint=#f0d6a8
16
usecase checkin "Check a guest in"
17
usecase adjust "Adjust a rate"
18
19
guest -- browse
20
guest -- book : "0..*"
21
member -- redeem
22
receptionist -- checkin
23
manager -- adjust
24
member --|> guest
25
manager --|> receptionist
Tab indents · Esc then Tab leaves the editor · worked examples
Read-only