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 "Food delivery"
3
description "Who does what at the system's edge: guests browse, customers order and track, couriers deliver — and every order includes payment."
4
5
@usecase
6
actor guest "Guest"
7
actor customer "Customer"
8
actor courier "Courier"
9
boundary "Food Delivery Service" tint=#4a90d9
10
usecase browse "Browse restaurants"
11
usecase order "Place an order"
12
desc "The heart of the system: a cart becomes a paid order with a courier assigned to it."
13
usecase pay "Pay for the order" [Stripe]
14
usecase track "Track the delivery"
15
usecase deliver "Deliver the order"
16
17
guest -- browse
18
customer -- order : "1..*"
19
customer -- track
20
courier -- deliver
21
order ..> pay : include
22
track ..> order : extend
23
customer --|> guest
Tab indents · Esc then Tab leaves the editor · worked examples
Read-only