chartlet 0.20.0

Compile structured data into deterministic, accessible static charts
Documentation
1
<div class="chartlet-wrapper"><style>.chartlet-stage{position:relative;display:inline-block;max-width:100%;vertical-align:top}.chartlet-stage>svg{display:block}.chartlet-hotspot{position:absolute;border-radius:8px;cursor:pointer}.chartlet-focus{margin:0 0 12px 0;font-size:13px}.chartlet-focus summary{cursor:pointer;min-height:24px}.chartlet-focus fieldset{border:none;padding:0;margin:4px 0 0 0}.chartlet-focus label{display:inline-flex;align-items:center;min-height:44px;margin-right:14px;cursor:pointer;white-space:nowrap}.chartlet-focus input{margin-right:4px}.chartlet-focus input:focus-visible{outline:2px solid #2563eb;outline-offset:2px}.chartlet-wrapper:has(.chartlet-focus-node:checked) #chartlet-6eb2843d93367fb7 .chartlet-f{opacity:.18}#chartlet-6eb2843d93367fb7-hs-0{left:1.263%;top:33.148%;width:5.474%;height:10%}#chartlet-6eb2843d93367fb7-hs-1{left:13.403%;top:32.407%;width:5.474%;height:11.481%}#chartlet-6eb2843d93367fb7-hs-2{left:29.689%;top:33.519%;width:5.474%;height:9.259%}#chartlet-6eb2843d93367fb7-hs-3{left:44.442%;top:34.815%;width:5.772%;height:6.667%}#chartlet-6eb2843d93367fb7-hs-4{left:56.651%;top:31.852%;width:6.005%;height:12.593%}#chartlet-6eb2843d93367fb7-hs-5{left:73.081%;top:60%;width:5.474%;height:11.111%}#chartlet-6eb2843d93367fb7-hs-6{left:82.486%;top:46.296%;width:6.355%;height:10%}#chartlet-6eb2843d93367fb7-hs-7{left:91.377%;top:34.815%;width:7.359%;height:6.667%}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-0:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-0{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-0:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-0 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-0:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-0 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-1:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-1{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-1:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-1 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-1:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-1 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-2:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-2{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-2:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-2 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-2:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-2 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-3:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-3{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-3:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-3 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-3:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-3 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-4:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-4{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-4:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-4 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-4:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-4 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-5:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-5{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-5:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-5 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-5:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-5 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-6:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-6{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-6:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-6 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-6:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-6 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-7:checked) #chartlet-6eb2843d93367fb7 .chartlet-f-7{opacity:1}.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-7:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-7 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-6eb2843d93367fb7-focus-7:checked) #chartlet-6eb2843d93367fb7 .chartlet-n-7 .chartlet-seq-box{stroke-width:3}</style><details class="chartlet-focus"><summary>Focus</summary><fieldset><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" checked> Show all</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-0"> Customer</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-1"> Web shop</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-2"> Shop API</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-3"> Order events</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-4"> Order worker</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-5"> Orders</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-6"> Invoices</label><label><input type="radio" name="chartlet-6eb2843d93367fb7-focus" class="chartlet-focus-node" id="chartlet-6eb2843d93367fb7-focus-7"> Payment provider</label></fieldset></details><figure class="chartlet-figure" data-viz="chart"><figcaption>Web shop: overview</figcaption><div class="chartlet-stage"><svg xmlns="http://www.w3.org/2000/svg" width="1900" height="540" viewBox="0 0 1900 540" id="chartlet-6eb2843d93367fb7" role="img" aria-labelledby="chartlet-6eb2843d93367fb7-title chartlet-6eb2843d93367fb7-description" class="chartlet-root"><title id="chartlet-6eb2843d93367fb7-title">Web shop: overview</title><desc id="chartlet-6eb2843d93367fb7-description">Architecture diagram with 8 components and 8 connections in 3 boundaries. It is a view that shows 8 of the model&#39;s 11 components and 8 of its 11 connections. Cloud region eu-central-1: Invoices, Private network. Private network (in Cloud region eu-central-1): Shop API, Order events, Order worker, Data zone. Data zone (in Private network): Orders. Main path: Customer → Web shop → Shop API → Order events → Order worker → Payment provider. Most connected: Order worker (4 connections). Nothing leads into Customer. Nothing leads out of Orders, Invoices and Payment provider. Bottleneck: Shop API; without it the diagram falls apart. Customer (person): connects to Web shop (browses). Web shop (frontend): connects to Shop API (calls, via HTTPS/JSON). Shop API (service): connects to Orders (reads, writes, via SQL/TLS) and Order events (publishes, via AMQP). Order events (queue): connects to Order worker (delivers). Order worker (service): connects to Payment provider (charges, via HTTPS), Invoices (stores PDF, via S3 API) and Orders (updates, via SQL/TLS). Orders (database): no outgoing connection. Invoices (storage): no outgoing connection. Payment provider (external system): no outgoing connection.</desc><style>.chartlet-root{--chartlet-text:#172033;--chartlet-muted:#344054;--chartlet-grid:#d9dee8;--chartlet-zero:#667085;--chartlet-accent:#2563eb;--chartlet-background:#fff;--chartlet-color-1:#2563eb;--chartlet-color-2:#c2410c;--chartlet-color-3:#475569;--chartlet-color-4:#111827;max-width:100%;height:auto;font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:var(--chartlet-text)}#chartlet-6eb2843d93367fb7 .chartlet-title{font-size:22px;font-weight:650;fill:var(--chartlet-text)}#chartlet-6eb2843d93367fb7 .chartlet-label,#chartlet-6eb2843d93367fb7 .chartlet-tick,#chartlet-6eb2843d93367fb7 .chartlet-value,#chartlet-6eb2843d93367fb7 .chartlet-value-inverse,#chartlet-6eb2843d93367fb7 .chartlet-axis-title{font-size:12px;fill:var(--chartlet-muted)}#chartlet-6eb2843d93367fb7 .chartlet-value,#chartlet-6eb2843d93367fb7 .chartlet-value-inverse{font-weight:600}#chartlet-6eb2843d93367fb7 .chartlet-value{fill:var(--chartlet-text)}#chartlet-6eb2843d93367fb7 .chartlet-value-inverse{fill:var(--chartlet-background)}#chartlet-6eb2843d93367fb7 .chartlet-axis-title{font-weight:600}#chartlet-6eb2843d93367fb7 .chartlet-grid{stroke:var(--chartlet-grid);stroke-width:1}#chartlet-6eb2843d93367fb7 .chartlet-zero{stroke:var(--chartlet-zero);stroke-width:1.5}#chartlet-6eb2843d93367fb7 .chartlet-bar,#chartlet-6eb2843d93367fb7 .chartlet-point{fill:var(--chartlet-accent)}#chartlet-6eb2843d93367fb7 .chartlet-line{fill:none;stroke:var(--chartlet-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#chartlet-6eb2843d93367fb7 .chartlet-background{fill:var(--chartlet-background)}.chartlet-root{--chartlet-node:#eef3fd;--chartlet-lane:#f7f9fc;--chartlet-lane-head:#eef1f6;--chartlet-shadow:rgba(16,24,40,.09);--chartlet-role-blue:#2563eb;--chartlet-role-blue-fill:#eef3fd;--chartlet-role-green:#15803d;--chartlet-role-green-fill:#ecfdf3;--chartlet-role-amber:#b45309;--chartlet-role-amber-fill:#fff7e8;--chartlet-role-teal:#0f766e;--chartlet-role-teal-fill:#e9faf7;--chartlet-role-violet:#6d28d9;--chartlet-role-violet-fill:#f3efff;--chartlet-role-gray:#667085;--chartlet-role-gray-fill:#f7f8fa;--chartlet-role-red:#b42318;--chartlet-role-red-fill:#fef3f2}.chartlet-root.chartlet-theme-dark{--chartlet-node:#1a2436;--chartlet-lane:#121925;--chartlet-lane-head:#18212f;--chartlet-shadow:rgba(0,0,0,.45);--chartlet-role-blue:#7ea6ff;--chartlet-role-blue-fill:#1a2436;--chartlet-role-green:#4ade80;--chartlet-role-green-fill:#132a1d;--chartlet-role-amber:#fbbf24;--chartlet-role-amber-fill:#2b2210;--chartlet-role-teal:#2dd4bf;--chartlet-role-teal-fill:#0f2a27;--chartlet-role-violet:#b69cff;--chartlet-role-violet-fill:#231c38;--chartlet-role-gray:#9aa7bd;--chartlet-role-gray-fill:#161d29;--chartlet-role-red:#f97066;--chartlet-role-red-fill:#2d1616}#chartlet-6eb2843d93367fb7 .chartlet-role-blue{fill:var(--chartlet-role-blue-fill);stroke:var(--chartlet-role-blue)}#chartlet-6eb2843d93367fb7 .chartlet-role-green{fill:var(--chartlet-role-green-fill);stroke:var(--chartlet-role-green)}#chartlet-6eb2843d93367fb7 .chartlet-role-amber{fill:var(--chartlet-role-amber-fill);stroke:var(--chartlet-role-amber)}#chartlet-6eb2843d93367fb7 .chartlet-role-teal{fill:var(--chartlet-role-teal-fill);stroke:var(--chartlet-role-teal)}#chartlet-6eb2843d93367fb7 .chartlet-role-violet{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet)}#chartlet-6eb2843d93367fb7 .chartlet-role-gray{fill:var(--chartlet-role-gray-fill);stroke:var(--chartlet-role-gray)}#chartlet-6eb2843d93367fb7 .chartlet-role-red{fill:var(--chartlet-role-red-fill);stroke:var(--chartlet-role-red)}#chartlet-6eb2843d93367fb7 .chartlet-diagram-rim{fill:none;stroke:var(--chartlet-role-teal);stroke-width:1.5}#chartlet-6eb2843d93367fb7 .chartlet-diagram-shadow{fill:var(--chartlet-shadow);stroke:none;rx:7px}#chartlet-6eb2843d93367fb7 .chartlet-diagram-chip{fill:var(--chartlet-background);stroke:var(--chartlet-grid);stroke-width:1;rx:4px}#chartlet-6eb2843d93367fb7 .chartlet-diagram-chip-text{font-size:12px;fill:var(--chartlet-text)}#chartlet-6eb2843d93367fb7 .chartlet-diagram-badge{fill:var(--chartlet-accent);stroke:var(--chartlet-background);stroke-width:2}#chartlet-6eb2843d93367fb7 .chartlet-diagram-badge-text{font-size:10px;font-weight:700;fill:var(--chartlet-background)}#chartlet-6eb2843d93367fb7 .chartlet-flow-node{stroke-width:1.5;stroke-linejoin:round;rx:7px}#chartlet-6eb2843d93367fb7 .chartlet-flow-start{stroke-width:2}#chartlet-6eb2843d93367fb7 .chartlet-flow-end{stroke-width:3}#chartlet-6eb2843d93367fb7 .chartlet-flow-external{stroke-dasharray:5 3}#chartlet-6eb2843d93367fb7 .chartlet-flow-inner{stroke:var(--chartlet-role-blue);stroke-width:1}#chartlet-6eb2843d93367fb7 .chartlet-flow-label{font-size:13px;font-weight:600;fill:var(--chartlet-text)}#chartlet-6eb2843d93367fb7 .chartlet-flow-sublabel{font-size:11px;fill:var(--chartlet-muted)}#chartlet-6eb2843d93367fb7 .chartlet-flow-edge{fill:none;stroke:var(--chartlet-zero);stroke-width:1.4;stroke-linejoin:round}#chartlet-6eb2843d93367fb7 .chartlet-flow-dashed{stroke-dasharray:5 4}#chartlet-6eb2843d93367fb7 .chartlet-flow-dotted{stroke-dasharray:1 4;stroke-linecap:round}#chartlet-6eb2843d93367fb7 .chartlet-flow-main{stroke:var(--chartlet-accent);stroke-width:2.2}#chartlet-6eb2843d93367fb7 .chartlet-flow-head{fill:var(--chartlet-zero);stroke:var(--chartlet-zero);stroke-width:1;stroke-linejoin:round}#chartlet-6eb2843d93367fb7 .chartlet-flow-main-head{fill:var(--chartlet-accent);stroke:var(--chartlet-accent)}#chartlet-6eb2843d93367fb7 .chartlet-flow-lane{fill:var(--chartlet-lane);stroke:var(--chartlet-grid);stroke-width:1}#chartlet-6eb2843d93367fb7 .chartlet-flow-lane-alt{fill:var(--chartlet-background)}#chartlet-6eb2843d93367fb7 .chartlet-flow-lane-head{fill:var(--chartlet-lane-head);stroke:none}#chartlet-6eb2843d93367fb7 .chartlet-flow-lane-label{font-size:11px;font-weight:650;fill:var(--chartlet-muted);letter-spacing:.04em}#chartlet-6eb2843d93367fb7 .chartlet-flow-group{fill:var(--chartlet-accent);fill-opacity:.04;stroke:var(--chartlet-zero);stroke-width:1;stroke-dasharray:4 3;rx:10px}#chartlet-6eb2843d93367fb7 .chartlet-flow-group-label{font-size:11px;font-weight:600;fill:var(--chartlet-muted)}#chartlet-6eb2843d93367fb7 .chartlet-arch-head{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet);stroke-width:1.5}#chartlet-6eb2843d93367fb7 .chartlet-arch-dot{fill:var(--chartlet-role-blue);stroke:none}</style><rect x="540.099" y="116" width="1159.878" height="304" class="chartlet-flow-group"/><text x="548.099" y="129" text-anchor="start" class="chartlet-flow-group-label">Cloud region eu-central-1</text><rect x="552.099" y="144" width="964.439" height="264" class="chartlet-flow-group"/><text x="560.099" y="157" text-anchor="start" class="chartlet-flow-group-label">Private network</text><rect x="1376.537" y="296" width="128" height="100" class="chartlet-flow-group"/><text x="1384.537" y="309" text-anchor="start" class="chartlet-flow-group-label">Data zone</text><g class="chartlet-f chartlet-f-0 chartlet-f-1"><polyline points="128,206 246.652,206" class="chartlet-flow-edge chartlet-flow-main"><title>Customer → Web shop: browses</title></polyline><polyline points="246.652,209.5 254.652,206 246.652,202.5 246.652,209.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><polyline points="358.652,206 556.099,206" class="chartlet-flow-edge chartlet-flow-main"><title>Web shop → Shop API: calls [HTTPS/JSON]</title></polyline><polyline points="556.099,209.5 564.099,206 556.099,202.5 556.099,209.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><polyline points="668.099,223 815.474,223 815.474,264.978 1321.067,264.978 1321.067,366 1380.537,366" class="chartlet-flow-edge"><title>Shop API → Orders: reads, writes [SQL/TLS]</title></polyline><polyline points="1380.537,369.5 1388.537,366 1380.537,362.5 1380.537,369.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-3"><polyline points="668.099,206 836.389,206" class="chartlet-flow-edge chartlet-flow-main"><title>Shop API → Order events: publishes [AMQP]</title></polyline><polyline points="836.389,209.5 844.389,206 836.389,202.5 836.389,209.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><polyline points="954.059,206 1068.374,206" class="chartlet-flow-edge chartlet-flow-main"><title>Order events → Order worker: delivers</title></polyline><polyline points="1068.374,209.5 1076.374,206 1068.374,202.5 1068.374,209.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-7"><polyline points="1190.464,206 1728.17,206" class="chartlet-flow-edge chartlet-flow-main"><title>Order worker → Payment provider: charges [HTTPS]</title></polyline><polyline points="1728.17,209.5 1736.17,206 1728.17,202.5 1728.17,209.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-6"><polyline points="1190.464,219 1345.164,219 1345.164,250 1538.321,250 1538.321,277 1559.237,277" class="chartlet-flow-edge"><title>Order worker → Invoices: stores PDF [S3 API]</title></polyline><polyline points="1559.237,280.5 1567.237,277 1559.237,273.5 1559.237,280.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-5"><polyline points="1190.464,232 1333.115,232 1333.115,342 1380.537,342" class="chartlet-flow-edge"><title>Order worker → Orders: updates [SQL/TLS]</title></polyline><polyline points="1380.537,345.5 1388.537,342 1380.537,338.5 1380.537,345.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-n-0 chartlet-f-0 chartlet-f-1"></g><g class="chartlet-f chartlet-n-1 chartlet-f-0 chartlet-f-1 chartlet-f-2"></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-5"></g><g class="chartlet-f chartlet-n-3 chartlet-f-2 chartlet-f-3 chartlet-f-4"></g><g class="chartlet-f chartlet-n-4 chartlet-f-3 chartlet-f-4 chartlet-f-5 chartlet-f-6 chartlet-f-7"></g><g class="chartlet-f chartlet-n-5 chartlet-f-2 chartlet-f-4 chartlet-f-5"></g><g class="chartlet-f chartlet-n-6 chartlet-f-4 chartlet-f-6"></g><g class="chartlet-f chartlet-n-7 chartlet-f-4 chartlet-f-7"></g><g class="chartlet-f chartlet-f-0 chartlet-f-1"><rect x="132" y="181" width="61.12" height="21" class="chartlet-diagram-chip"/><text x="137" y="195" text-anchor="start" class="chartlet-diagram-chip-text">browses</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><rect x="362.652" y="166" width="102.52" height="36" class="chartlet-diagram-chip"/><text x="367.652" y="180" text-anchor="start" class="chartlet-diagram-chip-text">calls</text><text x="367.652" y="195" text-anchor="start" class="chartlet-diagram-chip-text">[HTTPS/JSON]</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><rect x="672.099" y="227" width="92.32" height="36" class="chartlet-diagram-chip"/><text x="677.099" y="241" text-anchor="start" class="chartlet-diagram-chip-text">reads, writes</text><text x="677.099" y="256" text-anchor="start" class="chartlet-diagram-chip-text">[SQL/TLS]</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-3"><rect x="672.099" y="166" width="64.24" height="36" class="chartlet-diagram-chip"/><text x="677.099" y="180" text-anchor="start" class="chartlet-diagram-chip-text">publishes</text><text x="677.099" y="195" text-anchor="start" class="chartlet-diagram-chip-text">[AMQP]</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><rect x="958.059" y="181" width="57.52" height="21" class="chartlet-diagram-chip"/><text x="963.059" y="195" text-anchor="start" class="chartlet-diagram-chip-text">delivers</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-7"><rect x="1194.464" y="166" width="63.64" height="36" class="chartlet-diagram-chip"/><text x="1199.464" y="180" text-anchor="start" class="chartlet-diagram-chip-text">charges</text><text x="1199.464" y="195" text-anchor="start" class="chartlet-diagram-chip-text">[HTTPS]</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-6"><rect x="1194.464" y="236" width="78.28" height="36" class="chartlet-diagram-chip"/><text x="1199.464" y="250" text-anchor="start" class="chartlet-diagram-chip-text">stores PDF</text><text x="1199.464" y="265" text-anchor="start" class="chartlet-diagram-chip-text">[S3 API]</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-5"><rect x="1275.744" y="236" width="78.4" height="36" class="chartlet-diagram-chip"/><text x="1280.744" y="250" text-anchor="start" class="chartlet-diagram-chip-text">updates</text><text x="1280.744" y="265" text-anchor="start" class="chartlet-diagram-chip-text">[SQL/TLS]</text></g><g class="chartlet-f chartlet-n-0 chartlet-f-0 chartlet-f-1"><rect x="24" y="181.5" width="104" height="54" class="chartlet-diagram-shadow"/><rect x="24" y="179" width="104" height="54" class="chartlet-flow-node chartlet-role-violet"><title>Customer</title></rect><circle cx="76" cy="190" r="6" class="chartlet-arch-head"/><text x="76" y="218.5" text-anchor="middle" class="chartlet-flow-label">Customer</text></g><g class="chartlet-f chartlet-n-1 chartlet-f-0 chartlet-f-1 chartlet-f-2"><rect x="254.652" y="177.5" width="104" height="62" class="chartlet-diagram-shadow"/><rect x="254.652" y="175" width="104" height="62" class="chartlet-flow-node chartlet-role-blue"><title>Web shop – browser</title></rect><line x1="254.652" y1="187" x2="358.652" y2="187" class="chartlet-flow-inner"/><circle cx="262.652" cy="181" r="1.8" class="chartlet-arch-dot"/><circle cx="268.652" cy="181" r="1.8" class="chartlet-arch-dot"/><circle cx="274.652" cy="181" r="1.8" class="chartlet-arch-dot"/><text x="306.652" y="209.5" text-anchor="middle" class="chartlet-flow-label">Web shop</text><text x="306.652" y="223.5" text-anchor="middle" class="chartlet-flow-sublabel">browser</text></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-5"><rect x="564.099" y="183.5" width="104" height="50" class="chartlet-diagram-shadow"/><rect x="564.099" y="181" width="104" height="50" class="chartlet-flow-node chartlet-role-blue"><title>Shop API – Node.js</title></rect><text x="616.099" y="203.5" text-anchor="middle" class="chartlet-flow-label">Shop API</text><text x="616.099" y="217.5" text-anchor="middle" class="chartlet-flow-sublabel">Node.js</text></g><g class="chartlet-f chartlet-n-3 chartlet-f-2 chartlet-f-3 chartlet-f-4"><rect x="848.389" y="186.5" width="109.67" height="36" class="chartlet-diagram-shadow"/><rect x="848.389" y="184" width="109.67" height="36" class="chartlet-flow-node chartlet-role-violet"/><rect x="844.389" y="190.5" width="109.67" height="36" class="chartlet-diagram-shadow"/><rect x="844.389" y="188" width="109.67" height="36" class="chartlet-flow-node chartlet-role-violet"><title>Order events</title></rect><text x="899.224" y="210.5" text-anchor="middle" class="chartlet-flow-label">Order events</text></g><g class="chartlet-f chartlet-n-4 chartlet-f-3 chartlet-f-4 chartlet-f-5 chartlet-f-6 chartlet-f-7"><rect x="1076.374" y="174.5" width="114.09" height="68" class="chartlet-diagram-shadow"/><rect x="1076.374" y="172" width="114.09" height="68" class="chartlet-flow-node chartlet-role-blue"><title>Order worker</title></rect><text x="1133.419" y="210.5" text-anchor="middle" class="chartlet-flow-label">Order worker</text></g><g class="chartlet-f chartlet-n-5 chartlet-f-2 chartlet-f-4 chartlet-f-5"><polyline points="1388.537,331.5 1388.537,381.5 1390.309,382.794 1395.504,384 1403.768,385.036 1414.537,385.83 1427.079,386.33 1440.537,386.5 1453.996,386.33 1466.537,385.83 1477.307,385.036 1485.571,384 1490.766,382.794 1492.537,381.5 1492.537,331.5 1490.766,330.206 1485.571,329 1477.307,327.964 1466.537,327.17 1453.996,326.67 1440.537,326.5 1427.079,326.67 1414.537,327.17 1403.768,327.964 1395.504,329 1390.309,330.206 1388.537,331.5 1388.537,331.5" class="chartlet-diagram-shadow"/><polyline points="1388.537,329 1388.537,379 1390.309,380.294 1395.504,381.5 1403.768,382.536 1414.537,383.33 1427.079,383.83 1440.537,384 1453.996,383.83 1466.537,383.33 1477.307,382.536 1485.571,381.5 1490.766,380.294 1492.537,379 1492.537,329 1490.766,327.706 1485.571,326.5 1477.307,325.464 1466.537,324.67 1453.996,324.17 1440.537,324 1427.079,324.17 1414.537,324.67 1403.768,325.464 1395.504,326.5 1390.309,327.706 1388.537,329 1388.537,329" class="chartlet-flow-node chartlet-role-teal"><title>Orders – Postgres</title></polyline><polyline points="1388.537,329 1390.309,330.294 1395.504,331.5 1403.768,332.536 1414.537,333.33 1427.079,333.83 1440.537,334 1453.996,333.83 1466.537,333.33 1477.307,332.536 1485.571,331.5 1490.766,330.294 1492.537,329" class="chartlet-diagram-rim"/><text x="1440.537" y="354.5" text-anchor="middle" class="chartlet-flow-label">Orders</text><text x="1440.537" y="368.5" text-anchor="middle" class="chartlet-flow-sublabel">Postgres</text></g><g class="chartlet-f chartlet-n-6 chartlet-f-4 chartlet-f-6"><polyline points="1567.237,252.5 1687.977,252.5 1679.977,306.5 1575.237,306.5 1567.237,252.5" class="chartlet-diagram-shadow"/><polyline points="1567.237,250 1687.977,250 1679.977,304 1575.237,304 1567.237,250" class="chartlet-flow-node chartlet-role-teal"><title>Invoices – object storage</title></polyline><text x="1627.607" y="274.5" text-anchor="middle" class="chartlet-flow-label">Invoices</text><text x="1627.607" y="288.5" text-anchor="middle" class="chartlet-flow-sublabel">object storage</text></g><g class="chartlet-f chartlet-n-7 chartlet-f-4 chartlet-f-7"><rect x="1736.17" y="190.5" width="139.83" height="36" class="chartlet-diagram-shadow"/><rect x="1736.17" y="188" width="139.83" height="36" class="chartlet-flow-node chartlet-flow-external chartlet-role-gray"><title>Payment provider</title></rect><text x="1806.085" y="210.5" text-anchor="middle" class="chartlet-flow-label">Payment provider</text></g></svg><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-0" for="chartlet-6eb2843d93367fb7-focus-0"></label><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-1" for="chartlet-6eb2843d93367fb7-focus-1"></label><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-2" for="chartlet-6eb2843d93367fb7-focus-2"></label><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-3" for="chartlet-6eb2843d93367fb7-focus-3"></label><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-4" for="chartlet-6eb2843d93367fb7-focus-4"></label><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-5" for="chartlet-6eb2843d93367fb7-focus-5"></label><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-6" for="chartlet-6eb2843d93367fb7-focus-6"></label><label class="chartlet-hotspot" id="chartlet-6eb2843d93367fb7-hs-7" for="chartlet-6eb2843d93367fb7-focus-7"></label></div><p class="chartlet-source">Source: Architecture handbook, shop model</p><details class="chartlet-data" data-viz-text><summary>Show chart data</summary><table><caption>Data for Web shop: overview</caption><thead><tr><th scope="col">Component</th><th scope="col">Kind</th><th scope="col">Boundary</th><th scope="col">Connects to</th></tr></thead><tbody><tr><th scope="row">Customer</th><td>person</td><td></td><td>Web shop (browses)</td></tr><tr><th scope="row">Web shop</th><td>frontend</td><td></td><td>Shop API (calls, via HTTPS/JSON)</td></tr><tr><th scope="row">Shop API</th><td>service</td><td>Cloud region eu-central-1 › Private network</td><td>Orders (reads, writes, via SQL/TLS), Order events (publishes, via AMQP)</td></tr><tr><th scope="row">Order events</th><td>queue</td><td>Cloud region eu-central-1 › Private network</td><td>Order worker (delivers)</td></tr><tr><th scope="row">Order worker</th><td>service</td><td>Cloud region eu-central-1 › Private network</td><td>Payment provider (charges, via HTTPS), Invoices (stores PDF, via S3 API), Orders (updates, via SQL/TLS)</td></tr><tr><th scope="row">Orders</th><td>database</td><td>Cloud region eu-central-1 › Private network › Data zone</td><td></td></tr><tr><th scope="row">Invoices</th><td>storage</td><td>Cloud region eu-central-1</td><td></td></tr><tr><th scope="row">Payment provider</th><td>external system</td><td></td><td></td></tr></tbody></table></details></figure></div>