chartlet 0.23.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.684%;top:31.852%;width:5.474%;height:10.37%}#chartlet-6eb2843d93367fb7-hs-1{left:13.474%;top:31.111%;width:5.474%;height:11.852%}#chartlet-6eb2843d93367fb7-hs-2{left:29.263%;top:31.852%;width:5.474%;height:10.37%}#chartlet-6eb2843d93367fb7-hs-3{left:43.789%;top:33.333%;width:5.895%;height:7.407%}#chartlet-6eb2843d93367fb7-hs-4{left:55.789%;top:30.37%;width:6.316%;height:13.333%}#chartlet-6eb2843d93367fb7-hs-5{left:72.421%;top:60.741%;width:5.474%;height:11.852%}#chartlet-6eb2843d93367fb7-hs-6{left:81.684%;top:45.926%;width:6.737%;height:10.37%}#chartlet-6eb2843d93367fb7-hs-7{left:90.737%;top:33.333%;width:7.579%;height:7.407%}.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="532" y="108" width="1160" height="320" class="chartlet-flow-group"/><text x="540" y="121" text-anchor="start" class="chartlet-flow-group-label">Cloud region eu-central-1</text><rect x="544" y="136" width="960" height="280" class="chartlet-flow-group"/><text x="552" y="149" text-anchor="start" class="chartlet-flow-group-label">Private network</text><rect x="1364" y="300" width="128" height="104" class="chartlet-flow-group"/><text x="1372" y="313" text-anchor="start" class="chartlet-flow-group-label">Data zone</text><g class="chartlet-f chartlet-f-0 chartlet-f-1"><polyline points="136,200 248,200" class="chartlet-flow-edge chartlet-flow-main"><title>Customer → Web shop: browses</title></polyline><polyline points="248,203.5 256,200 248,196.5 248,203.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><polyline points="360,200 548,200" class="chartlet-flow-edge chartlet-flow-main"><title>Web shop → Shop API: calls [HTTPS/JSON]</title></polyline><polyline points="548,203.5 556,200 548,196.5 548,203.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><polyline points="660,220 800.397,220 800.397,264 1304.42,264 1304.42,372 1368,372" class="chartlet-flow-edge"><title>Shop API → Orders: reads, writes [SQL/TLS]</title></polyline><polyline points="1368,375.5 1376,372 1368,368.5 1368,375.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-3"><polyline points="660,200 824,200" class="chartlet-flow-edge chartlet-flow-main"><title>Shop API → Order events: publishes [AMQP]</title></polyline><polyline points="824,203.5 832,200 824,196.5 824,203.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><polyline points="944,200 1052,200" class="chartlet-flow-edge chartlet-flow-main"><title>Order events → Order worker: delivers</title></polyline><polyline points="1052,203.5 1060,200 1052,196.5 1052,203.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-7"><polyline points="1180,200 1716,200" class="chartlet-flow-edge chartlet-flow-main"><title>Order worker → Payment provider: charges [HTTPS]</title></polyline><polyline points="1716,203.5 1724,200 1716,196.5 1716,203.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-6"><polyline points="1180,214 1331.967,214 1331.967,248 1523.616,248 1523.616,276 1544,276" class="chartlet-flow-edge"><title>Order worker → Invoices: stores PDF [S3 API]</title></polyline><polyline points="1544,279.5 1552,276 1544,272.5 1544,279.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-5"><polyline points="1180,228 1318.193,228 1318.193,348 1368,348" class="chartlet-flow-edge"><title>Order worker → Orders: updates [SQL/TLS]</title></polyline><polyline points="1368,351.5 1376,348 1368,344.5 1368,351.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="140" y="175" width="61.12" height="21" class="chartlet-diagram-chip"/><text x="145" y="189" text-anchor="start" class="chartlet-diagram-chip-text">browses</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><rect x="364" y="160" width="102.52" height="36" class="chartlet-diagram-chip"/><text x="369" y="174" text-anchor="start" class="chartlet-diagram-chip-text">calls</text><text x="369" y="189" text-anchor="start" class="chartlet-diagram-chip-text">[HTTPS/JSON]</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><rect x="664" y="224" width="92.32" height="36" class="chartlet-diagram-chip"/><text x="669" y="238" text-anchor="start" class="chartlet-diagram-chip-text">reads, writes</text><text x="669" y="253" text-anchor="start" class="chartlet-diagram-chip-text">[SQL/TLS]</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-3"><rect x="664" y="160" width="64.24" height="36" class="chartlet-diagram-chip"/><text x="669" y="174" text-anchor="start" class="chartlet-diagram-chip-text">publishes</text><text x="669" y="189" text-anchor="start" class="chartlet-diagram-chip-text">[AMQP]</text></g><g class="chartlet-f chartlet-f-3 chartlet-f-4"><rect x="948" y="175" width="57.52" height="21" class="chartlet-diagram-chip"/><text x="953" y="189" text-anchor="start" class="chartlet-diagram-chip-text">delivers</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-7"><rect x="1184" y="160" width="63.64" height="36" class="chartlet-diagram-chip"/><text x="1189" y="174" text-anchor="start" class="chartlet-diagram-chip-text">charges</text><text x="1189" y="189" text-anchor="start" class="chartlet-diagram-chip-text">[HTTPS]</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-6"><rect x="1184" y="232" width="78.28" height="36" class="chartlet-diagram-chip"/><text x="1189" y="246" text-anchor="start" class="chartlet-diagram-chip-text">stores PDF</text><text x="1189" y="261" text-anchor="start" class="chartlet-diagram-chip-text">[S3 API]</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-5"><rect x="1265.28" y="232" width="78.4" height="36" class="chartlet-diagram-chip"/><text x="1270.28" y="246" text-anchor="start" class="chartlet-diagram-chip-text">updates</text><text x="1270.28" y="261" 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="32" y="174.5" width="104" height="56" class="chartlet-diagram-shadow"/><rect x="32" y="172" width="104" height="56" class="chartlet-flow-node chartlet-role-violet"><title>Customer</title></rect><circle cx="84" cy="183" r="6" class="chartlet-arch-head"/><text x="84" y="212.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="256" y="170.5" width="104" height="64" class="chartlet-diagram-shadow"/><rect x="256" y="168" width="104" height="64" class="chartlet-flow-node chartlet-role-blue"><title>Web shop – browser</title></rect><line x1="256" y1="180" x2="360" y2="180" class="chartlet-flow-inner"/><circle cx="264" cy="174" r="1.8" class="chartlet-arch-dot"/><circle cx="270" cy="174" r="1.8" class="chartlet-arch-dot"/><circle cx="276" cy="174" r="1.8" class="chartlet-arch-dot"/><text x="308" y="203.5" text-anchor="middle" class="chartlet-flow-label">Web shop</text><text x="308" y="217.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="556" y="174.5" width="104" height="56" class="chartlet-diagram-shadow"/><rect x="556" y="172" width="104" height="56" class="chartlet-flow-node chartlet-role-blue"><title>Shop API – Node.js</title></rect><text x="608" y="197.5" text-anchor="middle" class="chartlet-flow-label">Shop API</text><text x="608" y="211.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="836" y="178.5" width="112" height="40" class="chartlet-diagram-shadow"/><rect x="836" y="176" width="112" height="40" class="chartlet-flow-node chartlet-role-violet"/><rect x="832" y="182.5" width="112" height="40" class="chartlet-diagram-shadow"/><rect x="832" y="180" width="112" height="40" class="chartlet-flow-node chartlet-role-violet"><title>Order events</title></rect><text x="888" y="204.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="1060" y="166.5" width="120" height="72" class="chartlet-diagram-shadow"/><rect x="1060" y="164" width="120" height="72" class="chartlet-flow-node chartlet-role-blue"><title>Order worker</title></rect><text x="1120" y="204.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="1376,335.5 1376,389.5 1377.772,390.794 1382.967,392 1391.23,393.036 1402,393.83 1414.541,394.33 1428,394.5 1441.459,394.33 1454,393.83 1464.77,393.036 1473.033,392 1478.228,390.794 1480,389.5 1480,335.5 1478.228,334.206 1473.033,333 1464.77,331.964 1454,331.17 1441.459,330.67 1428,330.5 1414.541,330.67 1402,331.17 1391.23,331.964 1382.967,333 1377.772,334.206 1376,335.5 1376,335.5" class="chartlet-diagram-shadow"/><polyline points="1376,333 1376,387 1377.772,388.294 1382.967,389.5 1391.23,390.536 1402,391.33 1414.541,391.83 1428,392 1441.459,391.83 1454,391.33 1464.77,390.536 1473.033,389.5 1478.228,388.294 1480,387 1480,333 1478.228,331.706 1473.033,330.5 1464.77,329.464 1454,328.67 1441.459,328.17 1428,328 1414.541,328.17 1402,328.67 1391.23,329.464 1382.967,330.5 1377.772,331.706 1376,333 1376,333" class="chartlet-flow-node chartlet-role-teal"><title>Orders – Postgres</title></polyline><polyline points="1376,333 1377.772,334.294 1382.967,335.5 1391.23,336.536 1402,337.33 1414.541,337.83 1428,338 1441.459,337.83 1454,337.33 1464.77,336.536 1473.033,335.5 1478.228,334.294 1480,333" class="chartlet-diagram-rim"/><text x="1428" y="360.5" text-anchor="middle" class="chartlet-flow-label">Orders</text><text x="1428" y="374.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="1552,250.5 1680,250.5 1672,306.5 1560,306.5 1552,250.5" class="chartlet-diagram-shadow"/><polyline points="1552,248 1680,248 1672,304 1560,304 1552,248" class="chartlet-flow-node chartlet-role-teal"><title>Invoices – object storage</title></polyline><text x="1616" y="273.5" text-anchor="middle" class="chartlet-flow-label">Invoices</text><text x="1616" y="287.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="1724" y="182.5" width="144" height="40" class="chartlet-diagram-shadow"/><rect x="1724" y="180" width="144" height="40" class="chartlet-flow-node chartlet-flow-external chartlet-role-gray"><title>Payment provider</title></rect><text x="1796" y="204.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>