- *.archify-decision files: id (unique, words), title, status, date, elements, diagrams, supersedes, and prose; parsed, merged and link-checked in the model index; diagnostics on the file - diagrams point at decisions with decisions: [...] on the diagram, nodes and edges; stripped before Archify, unknown ids reported, completion, hover and go-to-definition for the ids and for elements/diagrams/ supersedes in decision files - Decisions panel on the main.archify page; Decisions rail panel under a diagram (hover lights up the node or connection); decisions on element cards and in the element dialog; decision view for the file, with a lost-model note outside a model - Archify | New Decision… command and template; editor schemas; the three New Model examples carry decisions; docs, changelog, 0.8.0
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
schema_version: 1
|
|
diagram_type: architecture
|
|
meta:
|
|
title: Containers
|
|
output: containers.html
|
|
decisions: [postgres-as-source-of-truth]
|
|
components:
|
|
- ref: customer
|
|
pos: [40, 160]
|
|
size: [130, 60]
|
|
- ref: web
|
|
pos: [250, 160]
|
|
size: [130, 60]
|
|
- ref: api
|
|
pos: [460, 160]
|
|
size: [130, 60]
|
|
- ref: cache
|
|
pos: [670, 60]
|
|
size: [130, 60]
|
|
- ref: db
|
|
pos: [670, 260]
|
|
size: [130, 60]
|
|
- ref: queue
|
|
pos: [460, 360]
|
|
size: [130, 60]
|
|
decisions: [queue-between-api-and-worker]
|
|
- ref: worker
|
|
pos: [670, 460]
|
|
size: [130, 60]
|
|
boundaries:
|
|
- kind: region
|
|
label: Online Shop
|
|
wraps: [web, api, cache, db, queue, worker]
|
|
connections:
|
|
- { from: customer, to: web, label: HTTPS, variant: emphasis }
|
|
- { from: web, to: api, label: JSON }
|
|
- { from: api, to: cache, label: read }
|
|
- { from: api, to: db, label: SQL }
|
|
- { from: api, to: queue, label: enqueue, labelAt: [560, 290], decisions: [queue-between-api-and-worker] }
|
|
- { from: queue, to: worker, label: poll }
|
|
- { from: worker, to: db, label: SQL, labelAt: [735, 420] }
|