chartlet 0.16.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-55d7d182de2564d7 .chartlet-f{opacity:.18}#chartlet-55d7d182de2564d7-hs-0{left:1.312%;top:34.444%;width:5.686%;height:10%}#chartlet-55d7d182de2564d7-hs-1{left:12.746%;top:33.704%;width:5.686%;height:11.481%}#chartlet-55d7d182de2564d7-hs-2{left:28.302%;top:81.296%;width:7.432%;height:6.667%}#chartlet-55d7d182de2564d7-hs-3{left:29.175%;top:31.481%;width:5.686%;height:15.926%}#chartlet-55d7d182de2564d7-hs-4{left:44.28%;top:21.667%;width:7.522%;height:9.259%}#chartlet-55d7d182de2564d7-hs-5{left:45.043%;top:36.111%;width:5.996%;height:6.667%}#chartlet-55d7d182de2564d7-hs-6{left:57.899%;top:33.148%;width:6.238%;height:12.593%}#chartlet-55d7d182de2564d7-hs-7{left:73.126%;top:61.296%;width:5.686%;height:11.111%}#chartlet-55d7d182de2564d7-hs-8{left:82.202%;top:47.593%;width:6.601%;height:10%}#chartlet-55d7d182de2564d7-hs-9{left:90.99%;top:36.111%;width:7.645%;height:6.667%}#chartlet-55d7d182de2564d7-hs-10{left:44.829%;top:47.963%;width:6.424%;height:12.593%}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-0:checked) #chartlet-55d7d182de2564d7 .chartlet-f-0{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-0:checked) #chartlet-55d7d182de2564d7 .chartlet-n-0 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-0:checked) #chartlet-55d7d182de2564d7 .chartlet-n-0 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-1:checked) #chartlet-55d7d182de2564d7 .chartlet-f-1{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-1:checked) #chartlet-55d7d182de2564d7 .chartlet-n-1 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-1:checked) #chartlet-55d7d182de2564d7 .chartlet-n-1 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-2:checked) #chartlet-55d7d182de2564d7 .chartlet-f-2{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-2:checked) #chartlet-55d7d182de2564d7 .chartlet-n-2 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-2:checked) #chartlet-55d7d182de2564d7 .chartlet-n-2 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-3:checked) #chartlet-55d7d182de2564d7 .chartlet-f-3{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-3:checked) #chartlet-55d7d182de2564d7 .chartlet-n-3 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-3:checked) #chartlet-55d7d182de2564d7 .chartlet-n-3 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-4:checked) #chartlet-55d7d182de2564d7 .chartlet-f-4{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-4:checked) #chartlet-55d7d182de2564d7 .chartlet-n-4 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-4:checked) #chartlet-55d7d182de2564d7 .chartlet-n-4 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-5:checked) #chartlet-55d7d182de2564d7 .chartlet-f-5{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-5:checked) #chartlet-55d7d182de2564d7 .chartlet-n-5 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-5:checked) #chartlet-55d7d182de2564d7 .chartlet-n-5 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-6:checked) #chartlet-55d7d182de2564d7 .chartlet-f-6{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-6:checked) #chartlet-55d7d182de2564d7 .chartlet-n-6 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-6:checked) #chartlet-55d7d182de2564d7 .chartlet-n-6 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-7:checked) #chartlet-55d7d182de2564d7 .chartlet-f-7{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-7:checked) #chartlet-55d7d182de2564d7 .chartlet-n-7 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-7:checked) #chartlet-55d7d182de2564d7 .chartlet-n-7 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-8:checked) #chartlet-55d7d182de2564d7 .chartlet-f-8{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-8:checked) #chartlet-55d7d182de2564d7 .chartlet-n-8 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-8:checked) #chartlet-55d7d182de2564d7 .chartlet-n-8 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-9:checked) #chartlet-55d7d182de2564d7 .chartlet-f-9{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-9:checked) #chartlet-55d7d182de2564d7 .chartlet-n-9 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-9:checked) #chartlet-55d7d182de2564d7 .chartlet-n-9 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-10:checked) #chartlet-55d7d182de2564d7 .chartlet-f-10{opacity:1}.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-10:checked) #chartlet-55d7d182de2564d7 .chartlet-n-10 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-55d7d182de2564d7-focus-10:checked) #chartlet-55d7d182de2564d7 .chartlet-n-10 .chartlet-seq-box{stroke-width:3}</style><details class="chartlet-focus"><summary>Focus</summary><fieldset><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" checked> Show all</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-0"> Customer</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-1"> Web shop</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-2"> Content network</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-3"> Shop API</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-4"> Session cache</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-5"> Order events</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-6"> Order worker</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-7"> Orders</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-8"> Invoices</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-9"> Payment provider</label><label><input type="radio" name="chartlet-55d7d182de2564d7-focus" class="chartlet-focus-node" id="chartlet-55d7d182de2564d7-focus-10"> Sign-in</label></fieldset></details><figure class="chartlet-figure" data-viz="chart"><figcaption>Web shop on one cloud region</figcaption><div class="chartlet-stage"><svg xmlns="http://www.w3.org/2000/svg" width="1829" height="540" viewBox="0 0 1829 540" id="chartlet-55d7d182de2564d7" role="img" aria-labelledby="chartlet-55d7d182de2564d7-title chartlet-55d7d182de2564d7-description" class="chartlet-root"><title id="chartlet-55d7d182de2564d7-title">Web shop on one cloud region</title><desc id="chartlet-55d7d182de2564d7-description">Architecture diagram with 11 components and 11 connections in 3 boundaries. Cloud region eu-central-1: Invoices, Private network. Private network (in Cloud region eu-central-1): Shop API, Session cache, Order events, Order worker, Sign-in, Data zone. Data zone (in Private network): Orders. Main path: Customer → Web shop → Shop API → Order events → Order worker → Payment provider. Customer (person): connects to Web shop (browses). Web shop (frontend): connects to Content network (loads assets, via HTTPS) and Shop API (calls, via HTTPS/JSON). Shop API (service): connects to Session cache (sessions, via RESP), Sign-in (checks token, via OIDC), Orders (reads, writes, via SQL/TLS) and Order events (publishes, via AMQP). Content network (external system): no outgoing connection. Session cache (cache): no outgoing connection. Order events (queue): connects to Order worker (delivers). Sign-in (security): no outgoing connection. 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-55d7d182de2564d7 .chartlet-title{font-size:22px;font-weight:650;fill:var(--chartlet-text)}#chartlet-55d7d182de2564d7 .chartlet-label,#chartlet-55d7d182de2564d7 .chartlet-tick,#chartlet-55d7d182de2564d7 .chartlet-value,#chartlet-55d7d182de2564d7 .chartlet-value-inverse,#chartlet-55d7d182de2564d7 .chartlet-axis-title{font-size:12px;fill:var(--chartlet-muted)}#chartlet-55d7d182de2564d7 .chartlet-value,#chartlet-55d7d182de2564d7 .chartlet-value-inverse{font-weight:600}#chartlet-55d7d182de2564d7 .chartlet-value{fill:var(--chartlet-text)}#chartlet-55d7d182de2564d7 .chartlet-value-inverse{fill:var(--chartlet-background)}#chartlet-55d7d182de2564d7 .chartlet-axis-title{font-weight:600}#chartlet-55d7d182de2564d7 .chartlet-grid{stroke:var(--chartlet-grid);stroke-width:1}#chartlet-55d7d182de2564d7 .chartlet-zero{stroke:var(--chartlet-zero);stroke-width:1.5}#chartlet-55d7d182de2564d7 .chartlet-bar,#chartlet-55d7d182de2564d7 .chartlet-point{fill:var(--chartlet-accent)}#chartlet-55d7d182de2564d7 .chartlet-line{fill:none;stroke:var(--chartlet-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#chartlet-55d7d182de2564d7 .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-55d7d182de2564d7 .chartlet-role-blue{fill:var(--chartlet-role-blue-fill);stroke:var(--chartlet-role-blue)}#chartlet-55d7d182de2564d7 .chartlet-role-green{fill:var(--chartlet-role-green-fill);stroke:var(--chartlet-role-green)}#chartlet-55d7d182de2564d7 .chartlet-role-amber{fill:var(--chartlet-role-amber-fill);stroke:var(--chartlet-role-amber)}#chartlet-55d7d182de2564d7 .chartlet-role-teal{fill:var(--chartlet-role-teal-fill);stroke:var(--chartlet-role-teal)}#chartlet-55d7d182de2564d7 .chartlet-role-violet{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet)}#chartlet-55d7d182de2564d7 .chartlet-role-gray{fill:var(--chartlet-role-gray-fill);stroke:var(--chartlet-role-gray)}#chartlet-55d7d182de2564d7 .chartlet-role-red{fill:var(--chartlet-role-red-fill);stroke:var(--chartlet-role-red)}#chartlet-55d7d182de2564d7 .chartlet-diagram-rim{fill:none;stroke:var(--chartlet-role-teal);stroke-width:1.5}#chartlet-55d7d182de2564d7 .chartlet-diagram-shadow{fill:var(--chartlet-shadow);stroke:none;rx:7px}#chartlet-55d7d182de2564d7 .chartlet-diagram-chip{fill:var(--chartlet-background);stroke:var(--chartlet-grid);stroke-width:1;rx:4px}#chartlet-55d7d182de2564d7 .chartlet-diagram-chip-text{font-size:12px;fill:var(--chartlet-text)}#chartlet-55d7d182de2564d7 .chartlet-diagram-badge{fill:var(--chartlet-accent);stroke:var(--chartlet-background);stroke-width:2}#chartlet-55d7d182de2564d7 .chartlet-diagram-badge-text{font-size:10px;font-weight:700;fill:var(--chartlet-background)}#chartlet-55d7d182de2564d7 .chartlet-flow-node{stroke-width:1.5;stroke-linejoin:round;rx:7px}#chartlet-55d7d182de2564d7 .chartlet-flow-start{stroke-width:2}#chartlet-55d7d182de2564d7 .chartlet-flow-end{stroke-width:3}#chartlet-55d7d182de2564d7 .chartlet-flow-external{stroke-dasharray:5 3}#chartlet-55d7d182de2564d7 .chartlet-flow-inner{stroke:var(--chartlet-role-blue);stroke-width:1}#chartlet-55d7d182de2564d7 .chartlet-flow-label{font-size:13px;font-weight:600;fill:var(--chartlet-text)}#chartlet-55d7d182de2564d7 .chartlet-flow-sublabel{font-size:11px;fill:var(--chartlet-muted)}#chartlet-55d7d182de2564d7 .chartlet-flow-edge{fill:none;stroke:var(--chartlet-zero);stroke-width:1.4;stroke-linejoin:round}#chartlet-55d7d182de2564d7 .chartlet-flow-dashed{stroke-dasharray:5 4}#chartlet-55d7d182de2564d7 .chartlet-flow-dotted{stroke-dasharray:1 4;stroke-linecap:round}#chartlet-55d7d182de2564d7 .chartlet-flow-main{stroke:var(--chartlet-accent);stroke-width:2.2}#chartlet-55d7d182de2564d7 .chartlet-flow-head{fill:var(--chartlet-zero);stroke:var(--chartlet-zero);stroke-width:1;stroke-linejoin:round}#chartlet-55d7d182de2564d7 .chartlet-flow-main-head{fill:var(--chartlet-accent);stroke:var(--chartlet-accent)}#chartlet-55d7d182de2564d7 .chartlet-flow-lane{fill:var(--chartlet-lane);stroke:var(--chartlet-grid);stroke-width:1}#chartlet-55d7d182de2564d7 .chartlet-flow-lane-alt{fill:var(--chartlet-background)}#chartlet-55d7d182de2564d7 .chartlet-flow-lane-head{fill:var(--chartlet-lane-head);stroke:none}#chartlet-55d7d182de2564d7 .chartlet-flow-lane-label{font-size:11px;font-weight:650;fill:var(--chartlet-muted);letter-spacing:.04em}#chartlet-55d7d182de2564d7 .chartlet-flow-group{fill:var(--chartlet-accent);fill-opacity:.04;stroke:var(--chartlet-zero);stroke-width:1;stroke-dasharray:4 3;rx:10px}#chartlet-55d7d182de2564d7 .chartlet-flow-group-label{font-size:11px;font-weight:600;fill:var(--chartlet-muted)}#chartlet-55d7d182de2564d7 .chartlet-arch-head{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet);stroke-width:1.5}#chartlet-55d7d182de2564d7 .chartlet-arch-dot{fill:var(--chartlet-role-blue);stroke:none}</style><rect x="509.605" y="61" width="1126.605" height="366" class="chartlet-flow-group"/><text x="517.605" y="74" text-anchor="start" class="chartlet-flow-group-label">Cloud region eu-central-1</text><rect x="521.605" y="89" width="943.865" height="326" class="chartlet-flow-group"/><text x="529.605" y="102" text-anchor="start" class="chartlet-flow-group-label">Private network</text><rect x="1325.47" y="303" width="128" height="100" class="chartlet-flow-group"/><text x="1333.47" y="316" text-anchor="start" class="chartlet-flow-group-label">Data zone</text><g class="chartlet-f chartlet-f-0 chartlet-f-1"><polyline points="128,213 225.12,213" class="chartlet-flow-edge chartlet-flow-main"><title>Customer → Web shop: browses</title></polyline><polyline points="225.12,216.5 233.12,213 225.12,209.5 225.12,216.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><polyline points="337.12,236 469.64,236 469.64,457 509.64,457" class="chartlet-flow-edge chartlet-flow-dashed"><title>Web shop → Content network: loads assets [HTTPS]</title></polyline><polyline points="509.64,460.5 517.64,457 509.64,453.5 509.64,460.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-3"><polyline points="337.12,213 525.605,213" class="chartlet-flow-edge chartlet-flow-main"><title>Web shop → Shop API: calls [HTTPS/JSON]</title></polyline><polyline points="525.605,216.5 533.605,213 525.605,209.5 525.605,216.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><polyline points="637.605,195.5 775.89,195.5 775.89,142 801.89,142" class="chartlet-flow-edge"><title>Shop API → Session cache: sessions [RESP]</title></polyline><polyline points="801.89,145.5 809.89,142 801.89,138.5 801.89,145.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-10"><polyline points="637.605,230.5 785.89,230.5 785.89,293 811.925,293" class="chartlet-flow-edge"><title>Shop API → Sign-in: checks token [OIDC]</title></polyline><polyline points="811.925,296.5 819.925,293 811.925,289.5 811.925,296.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-7"><polyline points="637.605,248 775.89,248 775.89,341 1034.98,341 1034.98,292.25 1281.47,292.25 1281.47,373 1329.47,373" class="chartlet-flow-edge"><title>Shop API → Orders: reads, writes [SQL/TLS]</title></polyline><polyline points="1329.47,376.5 1337.47,373 1329.47,369.5 1329.47,376.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-5"><polyline points="637.605,213 815.84,213" class="chartlet-flow-edge chartlet-flow-main"><title>Shop API → Order events: publishes [AMQP]</title></polyline><polyline points="815.84,216.5 823.84,213 815.84,209.5 815.84,216.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-5 chartlet-f-6"><polyline points="933.51,213 1050.98,213" class="chartlet-flow-edge chartlet-flow-main"><title>Order events → Order worker: delivers</title></polyline><polyline points="1050.98,216.5 1058.98,213 1050.98,209.5 1050.98,216.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-6 chartlet-f-9"><polyline points="1173.07,213 1656.21,213" class="chartlet-flow-edge chartlet-flow-main"><title>Order worker → Payment provider: charges [HTTPS]</title></polyline><polyline points="1656.21,216.5 1664.21,213 1656.21,209.5 1656.21,216.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-6 chartlet-f-8"><polyline points="1173.07,226 1301.47,226 1301.47,257 1479.47,257 1479.47,284 1495.47,284" class="chartlet-flow-edge"><title>Order worker → Invoices: stores PDF [S3 API]</title></polyline><polyline points="1495.47,287.5 1503.47,284 1495.47,280.5 1495.47,287.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-6 chartlet-f-7"><polyline points="1173.07,239 1291.47,239 1291.47,349 1329.47,349" class="chartlet-flow-edge"><title>Order worker → Orders: updates [SQL/TLS]</title></polyline><polyline points="1329.47,352.5 1337.47,349 1329.47,345.5 1329.47,352.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 chartlet-f-3"></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2"></g><g class="chartlet-f chartlet-n-3 chartlet-f-1 chartlet-f-3 chartlet-f-4 chartlet-f-5 chartlet-f-7 chartlet-f-10"></g><g class="chartlet-f chartlet-n-4 chartlet-f-3 chartlet-f-4"></g><g class="chartlet-f chartlet-n-5 chartlet-f-3 chartlet-f-5 chartlet-f-6"></g><g class="chartlet-f chartlet-n-6 chartlet-f-5 chartlet-f-6 chartlet-f-7 chartlet-f-8 chartlet-f-9"></g><g class="chartlet-f chartlet-n-7 chartlet-f-3 chartlet-f-6 chartlet-f-7"></g><g class="chartlet-f chartlet-n-8 chartlet-f-6 chartlet-f-8"></g><g class="chartlet-f chartlet-n-9 chartlet-f-6 chartlet-f-9"></g><g class="chartlet-f chartlet-n-10 chartlet-f-3 chartlet-f-10"></g><g class="chartlet-f chartlet-f-0 chartlet-f-1"><rect x="132" y="188" width="61.12" height="21" class="chartlet-diagram-chip"/><text x="137" y="202" text-anchor="start" class="chartlet-diagram-chip-text">browses</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><rect x="341.12" y="240" width="84.64" height="36" class="chartlet-diagram-chip"/><text x="346.12" y="254" text-anchor="start" class="chartlet-diagram-chip-text">loads assets</text><text x="346.12" y="269" text-anchor="start" class="chartlet-diagram-chip-text">[HTTPS]</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-3"><rect x="341.12" y="173" width="102.52" height="36" class="chartlet-diagram-chip"/><text x="346.12" y="187" text-anchor="start" class="chartlet-diagram-chip-text">calls</text><text x="346.12" y="202" text-anchor="start" class="chartlet-diagram-chip-text">[HTTPS/JSON]</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><rect x="641.605" y="155.5" width="60.64" height="36" class="chartlet-diagram-chip"/><text x="646.605" y="169.5" text-anchor="start" class="chartlet-diagram-chip-text">sessions</text><text x="646.605" y="184.5" text-anchor="start" class="chartlet-diagram-chip-text">[RESP]</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-10"><rect x="641.605" y="252" width="87.76" height="36" class="chartlet-diagram-chip"/><text x="646.605" y="266" text-anchor="start" class="chartlet-diagram-chip-text">checks token</text><text x="646.605" y="281" text-anchor="start" class="chartlet-diagram-chip-text">[OIDC]</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-7"><rect x="940.425" y="252" width="92.32" height="36" class="chartlet-diagram-chip"/><text x="945.425" y="266" text-anchor="start" class="chartlet-diagram-chip-text">reads, writes</text><text x="945.425" y="281" text-anchor="start" class="chartlet-diagram-chip-text">[SQL/TLS]</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-5"><rect x="705.245" y="155.5" width="64.24" height="36" class="chartlet-diagram-chip"/><text x="710.245" y="169.5" text-anchor="start" class="chartlet-diagram-chip-text">publishes</text><text x="710.245" y="184.5" text-anchor="start" class="chartlet-diagram-chip-text">[AMQP]</text></g><g class="chartlet-f chartlet-f-5 chartlet-f-6"><rect x="937.51" y="188" width="57.52" height="21" class="chartlet-diagram-chip"/><text x="942.51" y="202" text-anchor="start" class="chartlet-diagram-chip-text">delivers</text></g><g class="chartlet-f chartlet-f-6 chartlet-f-9"><rect x="1177.07" y="173" width="63.64" height="36" class="chartlet-diagram-chip"/><text x="1182.07" y="187" text-anchor="start" class="chartlet-diagram-chip-text">charges</text><text x="1182.07" y="202" text-anchor="start" class="chartlet-diagram-chip-text">[HTTPS]</text></g><g class="chartlet-f chartlet-f-6 chartlet-f-8"><rect x="1177.07" y="243" width="78.28" height="36" class="chartlet-diagram-chip"/><text x="1182.07" y="257" text-anchor="start" class="chartlet-diagram-chip-text">stores PDF</text><text x="1182.07" y="272" text-anchor="start" class="chartlet-diagram-chip-text">[S3 API]</text></g><g class="chartlet-f chartlet-f-6 chartlet-f-7"><rect x="1258.35" y="243" width="78.4" height="36" class="chartlet-diagram-chip"/><text x="1263.35" y="257" text-anchor="start" class="chartlet-diagram-chip-text">updates</text><text x="1263.35" y="272" 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="188.5" width="104" height="54" class="chartlet-diagram-shadow"/><rect x="24" y="186" width="104" height="54" class="chartlet-flow-node chartlet-role-violet"><title>Customer</title></rect><circle cx="76" cy="197" r="6" class="chartlet-arch-head"/><text x="76" y="225.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 chartlet-f-3"><rect x="233.12" y="184.5" width="104" height="62" class="chartlet-diagram-shadow"/><rect x="233.12" y="182" width="104" height="62" class="chartlet-flow-node chartlet-role-blue"><title>Web shop – browser</title></rect><line x1="233.12" y1="194" x2="337.12" y2="194" class="chartlet-flow-inner"/><circle cx="241.12" cy="188" r="1.8" class="chartlet-arch-dot"/><circle cx="247.12" cy="188" r="1.8" class="chartlet-arch-dot"/><circle cx="253.12" cy="188" r="1.8" class="chartlet-arch-dot"/><text x="285.12" y="216.5" text-anchor="middle" class="chartlet-flow-label">Web shop</text><text x="285.12" y="230.5" text-anchor="middle" class="chartlet-flow-sublabel">browser</text></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2"><rect x="517.64" y="441.5" width="135.93" height="36" class="chartlet-diagram-shadow"/><rect x="517.64" y="439" width="135.93" height="36" class="chartlet-flow-node chartlet-flow-external chartlet-role-gray"><title>Content network</title></rect><text x="585.605" y="461.5" text-anchor="middle" class="chartlet-flow-label">Content network</text></g><g class="chartlet-f chartlet-n-3 chartlet-f-1 chartlet-f-3 chartlet-f-4 chartlet-f-5 chartlet-f-7 chartlet-f-10"><rect x="533.605" y="172.5" width="104" height="86" class="chartlet-diagram-shadow"/><rect x="533.605" y="170" width="104" height="86" class="chartlet-flow-node chartlet-role-blue"><title>Shop API – Node.js</title></rect><text x="585.605" y="210.5" text-anchor="middle" class="chartlet-flow-label">Shop API</text><text x="585.605" y="224.5" text-anchor="middle" class="chartlet-flow-sublabel">Node.js</text></g><g class="chartlet-f chartlet-n-4 chartlet-f-3 chartlet-f-4"><polyline points="821.89,119.5 935.46,119.5 947.46,144.5 935.46,169.5 821.89,169.5 809.89,144.5 821.89,119.5" class="chartlet-diagram-shadow"/><polyline points="821.89,117 935.46,117 947.46,142 935.46,167 821.89,167 809.89,142 821.89,117" class="chartlet-flow-node chartlet-role-amber"><title>Session cache – Redis</title></polyline><text x="878.675" y="139.5" text-anchor="middle" class="chartlet-flow-label">Session cache</text><text x="878.675" y="153.5" text-anchor="middle" class="chartlet-flow-sublabel">Redis</text></g><g class="chartlet-f chartlet-n-5 chartlet-f-3 chartlet-f-5 chartlet-f-6"><rect x="827.84" y="193.5" width="109.67" height="36" class="chartlet-diagram-shadow"/><rect x="827.84" y="191" width="109.67" height="36" class="chartlet-flow-node chartlet-role-violet"/><rect x="823.84" y="197.5" width="109.67" height="36" class="chartlet-diagram-shadow"/><rect x="823.84" y="195" width="109.67" height="36" class="chartlet-flow-node chartlet-role-violet"><title>Order events</title></rect><text x="878.675" y="217.5" text-anchor="middle" class="chartlet-flow-label">Order events</text></g><g class="chartlet-f chartlet-n-6 chartlet-f-5 chartlet-f-6 chartlet-f-7 chartlet-f-8 chartlet-f-9"><rect x="1058.98" y="181.5" width="114.09" height="68" class="chartlet-diagram-shadow"/><rect x="1058.98" y="179" width="114.09" height="68" class="chartlet-flow-node chartlet-role-blue"><title>Order worker</title></rect><text x="1116.025" y="217.5" text-anchor="middle" class="chartlet-flow-label">Order worker</text></g><g class="chartlet-f chartlet-n-7 chartlet-f-3 chartlet-f-6 chartlet-f-7"><polyline points="1337.47,338.5 1337.47,388.5 1339.242,389.794 1344.437,391 1352.7,392.036 1363.47,392.83 1376.011,393.33 1389.47,393.5 1402.929,393.33 1415.47,392.83 1426.24,392.036 1434.503,391 1439.698,389.794 1441.47,388.5 1441.47,338.5 1439.698,337.206 1434.503,336 1426.24,334.964 1415.47,334.17 1402.929,333.67 1389.47,333.5 1376.011,333.67 1363.47,334.17 1352.7,334.964 1344.437,336 1339.242,337.206 1337.47,338.5 1337.47,338.5" class="chartlet-diagram-shadow"/><polyline points="1337.47,336 1337.47,386 1339.242,387.294 1344.437,388.5 1352.7,389.536 1363.47,390.33 1376.011,390.83 1389.47,391 1402.929,390.83 1415.47,390.33 1426.24,389.536 1434.503,388.5 1439.698,387.294 1441.47,386 1441.47,336 1439.698,334.706 1434.503,333.5 1426.24,332.464 1415.47,331.67 1402.929,331.17 1389.47,331 1376.011,331.17 1363.47,331.67 1352.7,332.464 1344.437,333.5 1339.242,334.706 1337.47,336 1337.47,336" class="chartlet-flow-node chartlet-role-teal"><title>Orders – Postgres</title></polyline><polyline points="1337.47,336 1339.242,337.294 1344.437,338.5 1352.7,339.536 1363.47,340.33 1376.011,340.83 1389.47,341 1402.929,340.83 1415.47,340.33 1426.24,339.536 1434.503,338.5 1439.698,337.294 1441.47,336" class="chartlet-diagram-rim"/><text x="1389.47" y="361.5" text-anchor="middle" class="chartlet-flow-label">Orders</text><text x="1389.47" y="375.5" text-anchor="middle" class="chartlet-flow-sublabel">Postgres</text></g><g class="chartlet-f chartlet-n-8 chartlet-f-6 chartlet-f-8"><polyline points="1503.47,259.5 1624.21,259.5 1616.21,313.5 1511.47,313.5 1503.47,259.5" class="chartlet-diagram-shadow"/><polyline points="1503.47,257 1624.21,257 1616.21,311 1511.47,311 1503.47,257" class="chartlet-flow-node chartlet-role-teal"><title>Invoices – object storage</title></polyline><text x="1563.84" y="281.5" text-anchor="middle" class="chartlet-flow-label">Invoices</text><text x="1563.84" y="295.5" text-anchor="middle" class="chartlet-flow-sublabel">object storage</text></g><g class="chartlet-f chartlet-n-9 chartlet-f-6 chartlet-f-9"><rect x="1664.21" y="197.5" width="139.83" height="36" class="chartlet-diagram-shadow"/><rect x="1664.21" y="195" width="139.83" height="36" class="chartlet-flow-node chartlet-flow-external chartlet-role-gray"><title>Payment provider</title></rect><text x="1734.125" y="217.5" text-anchor="middle" class="chartlet-flow-label">Payment provider</text></g><g class="chartlet-f chartlet-n-10 chartlet-f-3 chartlet-f-10"><polyline points="819.925,261.5 937.425,261.5 937.425,302.3 878.675,329.5 819.925,302.3 819.925,261.5" class="chartlet-diagram-shadow"/><polyline points="819.925,259 937.425,259 937.425,299.8 878.675,327 819.925,299.8 819.925,259" class="chartlet-flow-node chartlet-role-red"><title>Sign-in – identity provider</title></polyline><text x="878.675" y="284.5" text-anchor="middle" class="chartlet-flow-label">Sign-in</text><text x="878.675" y="298.5" text-anchor="middle" class="chartlet-flow-sublabel">identity provider</text></g></svg><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-0" for="chartlet-55d7d182de2564d7-focus-0"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-1" for="chartlet-55d7d182de2564d7-focus-1"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-2" for="chartlet-55d7d182de2564d7-focus-2"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-3" for="chartlet-55d7d182de2564d7-focus-3"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-4" for="chartlet-55d7d182de2564d7-focus-4"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-5" for="chartlet-55d7d182de2564d7-focus-5"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-6" for="chartlet-55d7d182de2564d7-focus-6"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-7" for="chartlet-55d7d182de2564d7-focus-7"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-8" for="chartlet-55d7d182de2564d7-focus-8"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-9" for="chartlet-55d7d182de2564d7-focus-9"></label><label class="chartlet-hotspot" id="chartlet-55d7d182de2564d7-hs-10" for="chartlet-55d7d182de2564d7-focus-10"></label></div><p class="chartlet-source">Source: Architecture handbook, overview</p><details class="chartlet-data" data-viz-text><summary>Show chart data</summary><table><caption>Data for Web shop on one cloud region</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>Content network (loads assets, via HTTPS), 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>Session cache (sessions, via RESP), Sign-in (checks token, via OIDC), Orders (reads, writes, via SQL/TLS), Order events (publishes, via AMQP)</td></tr><tr><th scope="row">Content network</th><td>external system</td><td></td><td></td></tr><tr><th scope="row">Session cache</th><td>cache</td><td>Cloud region eu-central-1 › Private network</td><td></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">Sign-in</th><td>security</td><td>Cloud region eu-central-1 › Private network</td><td></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>