<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-8bb238ebf6fddad1 .chartlet-f{opacity:.18}#chartlet-8bb238ebf6fddad1-hs-0{left:1.786%;top:44.762%;width:9.524%;height:9.524%}#chartlet-8bb238ebf6fddad1-hs-1{left:13.393%;top:41.905%;width:14.286%;height:15.238%}#chartlet-8bb238ebf6fddad1-hs-2{left:35.714%;top:41.905%;width:8.929%;height:15.238%}#chartlet-8bb238ebf6fddad1-hs-3{left:55.952%;top:23.81%;width:7.738%;height:11.429%}#chartlet-8bb238ebf6fddad1-hs-4{left:54.167%;top:41.905%;width:11.31%;height:15.238%}#chartlet-8bb238ebf6fddad1-hs-5{left:79.464%;top:60.952%;width:8.929%;height:13.333%}#chartlet-8bb238ebf6fddad1-hs-6{left:80.06%;top:44.762%;width:7.738%;height:9.524%}#chartlet-8bb238ebf6fddad1-hs-7{left:34.226%;top:64.762%;width:11.905%;height:9.524%}#chartlet-8bb238ebf6fddad1-hs-8{left:90.476%;top:44.762%;width:7.738%;height:9.524%}#chartlet-8bb238ebf6fddad1-hs-9{left:55.952%;top:64.762%;width:7.738%;height:9.524%}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-0:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-0{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-0:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-0 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-0:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-0 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-1:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-1{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-1:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-1 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-1:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-1 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-2:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-2{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-2:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-2 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-2:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-2 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-3:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-3{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-3:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-3 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-3:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-3 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-4:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-4{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-4:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-4 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-4:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-4 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-5:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-5{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-5:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-5 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-5:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-5 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-6:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-6{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-6:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-6 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-6:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-6 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-7:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-7{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-7:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-7 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-7:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-7 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-8:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-8{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-8:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-8 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-8:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-8 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-9:checked) #chartlet-8bb238ebf6fddad1 .chartlet-f-9{opacity:1}.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-9:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-9 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-8bb238ebf6fddad1-focus-9:checked) #chartlet-8bb238ebf6fddad1 .chartlet-n-9 .chartlet-seq-box{stroke-width:3}</style><details class="chartlet-focus"><summary>Focus</summary><fieldset><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" checked> Show all</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-0"> Order received</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-1"> Payment cleared?</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-2"> Reserve stock</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-3"> Inventory</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-4"> In stock?</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-5"> Backorder</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-6"> Ship parcel</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-7"> Notify customer</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-8"> Delivered</label><label><input type="radio" name="chartlet-8bb238ebf6fddad1-focus" class="chartlet-focus-node" id="chartlet-8bb238ebf6fddad1-focus-9"> Cancelled</label></fieldset></details><figure class="chartlet-figure" data-viz="chart"><figcaption>Handling an order</figcaption><div class="chartlet-stage"><svg xmlns="http://www.w3.org/2000/svg" width="1344" height="420" viewBox="0 0 1344 420" id="chartlet-8bb238ebf6fddad1" role="img" aria-labelledby="chartlet-8bb238ebf6fddad1-title chartlet-8bb238ebf6fddad1-description" class="chartlet-root"><title id="chartlet-8bb238ebf6fddad1-title">Handling an order</title><desc id="chartlet-8bb238ebf6fddad1-description">Flow chart with 10 steps and 10 connections. Main path: Order received → Payment cleared? → Reserve stock → In stock? → Ship parcel → Delivered. Most connected: Reserve stock (4 connections). Nothing leads out of Inventory. Loop: Reserve stock → In stock? → Backorder → Reserve stock. Order received (start): leads to Payment cleared?. Payment cleared? (decision): leads to Reserve stock (yes) and Notify customer (no). Reserve stock: leads to Inventory (update) and In stock?. Notify customer (input or output): leads to Cancelled. Inventory (data store): no further step. In stock? (decision): leads to Ship parcel (yes) and Backorder (no). Cancelled (end): no further step. Ship parcel: leads to Delivered. Backorder (subprocess): leads to Reserve stock (restocked). Delivered (end): no further step.</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-8bb238ebf6fddad1 .chartlet-title{font-size:22px;font-weight:650;fill:var(--chartlet-text)}#chartlet-8bb238ebf6fddad1 .chartlet-label,#chartlet-8bb238ebf6fddad1 .chartlet-tick,#chartlet-8bb238ebf6fddad1 .chartlet-value,#chartlet-8bb238ebf6fddad1 .chartlet-value-inverse,#chartlet-8bb238ebf6fddad1 .chartlet-axis-title{font-size:12px;fill:var(--chartlet-muted)}#chartlet-8bb238ebf6fddad1 .chartlet-value,#chartlet-8bb238ebf6fddad1 .chartlet-value-inverse{font-weight:600}#chartlet-8bb238ebf6fddad1 .chartlet-value{fill:var(--chartlet-text)}#chartlet-8bb238ebf6fddad1 .chartlet-value-inverse{fill:var(--chartlet-background)}#chartlet-8bb238ebf6fddad1 .chartlet-axis-title{font-weight:600}#chartlet-8bb238ebf6fddad1 .chartlet-grid{stroke:var(--chartlet-grid);stroke-width:1}#chartlet-8bb238ebf6fddad1 .chartlet-zero{stroke:var(--chartlet-zero);stroke-width:1.5}#chartlet-8bb238ebf6fddad1 .chartlet-bar,#chartlet-8bb238ebf6fddad1 .chartlet-point{fill:var(--chartlet-accent)}#chartlet-8bb238ebf6fddad1 .chartlet-line{fill:none;stroke:var(--chartlet-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#chartlet-8bb238ebf6fddad1 .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-8bb238ebf6fddad1 .chartlet-role-blue{fill:var(--chartlet-role-blue-fill);stroke:var(--chartlet-role-blue)}#chartlet-8bb238ebf6fddad1 .chartlet-role-green{fill:var(--chartlet-role-green-fill);stroke:var(--chartlet-role-green)}#chartlet-8bb238ebf6fddad1 .chartlet-role-amber{fill:var(--chartlet-role-amber-fill);stroke:var(--chartlet-role-amber)}#chartlet-8bb238ebf6fddad1 .chartlet-role-teal{fill:var(--chartlet-role-teal-fill);stroke:var(--chartlet-role-teal)}#chartlet-8bb238ebf6fddad1 .chartlet-role-violet{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet)}#chartlet-8bb238ebf6fddad1 .chartlet-role-gray{fill:var(--chartlet-role-gray-fill);stroke:var(--chartlet-role-gray)}#chartlet-8bb238ebf6fddad1 .chartlet-role-red{fill:var(--chartlet-role-red-fill);stroke:var(--chartlet-role-red)}#chartlet-8bb238ebf6fddad1 .chartlet-diagram-rim{fill:none;stroke:var(--chartlet-role-teal);stroke-width:1.5}#chartlet-8bb238ebf6fddad1 .chartlet-diagram-shadow{fill:var(--chartlet-shadow);stroke:none;rx:7px}#chartlet-8bb238ebf6fddad1 .chartlet-diagram-chip{fill:var(--chartlet-background);stroke:var(--chartlet-grid);stroke-width:1;rx:4px}#chartlet-8bb238ebf6fddad1 .chartlet-diagram-chip-text{font-size:12px;fill:var(--chartlet-text)}#chartlet-8bb238ebf6fddad1 .chartlet-diagram-badge{fill:var(--chartlet-accent);stroke:var(--chartlet-background);stroke-width:2}#chartlet-8bb238ebf6fddad1 .chartlet-diagram-badge-text{font-size:10px;font-weight:700;fill:var(--chartlet-background)}#chartlet-8bb238ebf6fddad1 .chartlet-flow-node{stroke-width:1.5;stroke-linejoin:round;rx:7px}#chartlet-8bb238ebf6fddad1 .chartlet-flow-start{stroke-width:2}#chartlet-8bb238ebf6fddad1 .chartlet-flow-end{stroke-width:3}#chartlet-8bb238ebf6fddad1 .chartlet-flow-external{stroke-dasharray:5 3}#chartlet-8bb238ebf6fddad1 .chartlet-flow-inner{stroke:var(--chartlet-role-blue);stroke-width:1}#chartlet-8bb238ebf6fddad1 .chartlet-flow-label{font-size:13px;font-weight:600;fill:var(--chartlet-text)}#chartlet-8bb238ebf6fddad1 .chartlet-flow-sublabel{font-size:11px;fill:var(--chartlet-muted)}#chartlet-8bb238ebf6fddad1 .chartlet-flow-edge{fill:none;stroke:var(--chartlet-zero);stroke-width:1.4;stroke-linejoin:round}#chartlet-8bb238ebf6fddad1 .chartlet-flow-dashed{stroke-dasharray:5 4}#chartlet-8bb238ebf6fddad1 .chartlet-flow-dotted{stroke-dasharray:1 4;stroke-linecap:round}#chartlet-8bb238ebf6fddad1 .chartlet-flow-main{stroke:var(--chartlet-accent);stroke-width:2.2}#chartlet-8bb238ebf6fddad1 .chartlet-flow-head{fill:var(--chartlet-zero);stroke:var(--chartlet-zero);stroke-width:1;stroke-linejoin:round}#chartlet-8bb238ebf6fddad1 .chartlet-flow-main-head{fill:var(--chartlet-accent);stroke:var(--chartlet-accent)}#chartlet-8bb238ebf6fddad1 .chartlet-flow-lane{fill:var(--chartlet-lane);stroke:var(--chartlet-grid);stroke-width:1}#chartlet-8bb238ebf6fddad1 .chartlet-flow-lane-alt{fill:var(--chartlet-background)}#chartlet-8bb238ebf6fddad1 .chartlet-flow-lane-head{fill:var(--chartlet-lane-head);stroke:none}#chartlet-8bb238ebf6fddad1 .chartlet-flow-lane-label{font-size:11px;font-weight:650;fill:var(--chartlet-muted);letter-spacing:.04em}#chartlet-8bb238ebf6fddad1 .chartlet-flow-group{fill:var(--chartlet-accent);fill-opacity:.04;stroke:var(--chartlet-zero);stroke-width:1;stroke-dasharray:4 3;rx:10px}#chartlet-8bb238ebf6fddad1 .chartlet-flow-group-label{font-size:11px;font-weight:600;fill:var(--chartlet-muted)}</style><g class="chartlet-f chartlet-f-0 chartlet-f-1"><polyline points="152,208 172,208" class="chartlet-flow-edge chartlet-flow-main"><title>Order received → Payment cleared?</title></polyline><polyline points="172,211.5 180,208 172,204.5 172,211.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><polyline points="372,208 472,208" class="chartlet-flow-edge chartlet-flow-main"><title>Payment cleared? → Reserve stock: yes</title></polyline><polyline points="472,211.5 480,208 472,204.5 472,211.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-7"><polyline points="314.4,227.2 432.16,227.2 432.16,292 452,292" class="chartlet-flow-edge"><title>Payment cleared? → Notify customer: no</title></polyline><polyline points="452,295.5 460,292 452,288.5 452,295.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-3"><polyline points="600,188.8 700.32,188.8 700.32,124 744,124" class="chartlet-flow-edge chartlet-flow-dotted"><title>Reserve stock → Inventory: update</title></polyline><polyline points="744,127.5 752,124 744,120.5 744,127.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-4"><polyline points="600,208 720,208" class="chartlet-flow-edge chartlet-flow-main"><title>Reserve stock → In stock?</title></polyline><polyline points="720,211.5 728,208 720,204.5 720,211.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-6"><polyline points="880,208 1068,208" class="chartlet-flow-edge chartlet-flow-main"><title>In stock? → Ship parcel: yes</title></polyline><polyline points="1068,211.5 1076,208 1068,204.5 1068,211.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-4 chartlet-f-5"><polyline points="834.4,227.2 952.16,227.2 952.16,272 1060,272" class="chartlet-flow-edge"><title>In stock? → Backorder: no</title></polyline><polyline points="1060,275.5 1068,272 1060,268.5 1060,275.5" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><polyline points="1068,296 940.16,296 940.16,256 700.32,256 700.32,227.2 608,227.2" class="chartlet-flow-edge chartlet-flow-dashed"><title>Backorder → Reserve stock: restocked</title></polyline><polyline points="608,223.7 600,227.2 608,230.7 608,223.7" class="chartlet-flow-head"/></g><g class="chartlet-f chartlet-f-6 chartlet-f-8"><polyline points="1180,208 1208,208" class="chartlet-flow-edge chartlet-flow-main"><title>Ship parcel → Delivered</title></polyline><polyline points="1208,211.5 1216,208 1208,204.5 1208,211.5" class="chartlet-flow-head chartlet-flow-main-head"/></g><g class="chartlet-f chartlet-f-7 chartlet-f-9"><polyline points="620,292 744,292" class="chartlet-flow-edge"><title>Notify customer → Cancelled</title></polyline><polyline points="744,295.5 752,292 744,288.5 744,295.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-7"></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-4 chartlet-f-5"></g><g class="chartlet-f chartlet-n-3 chartlet-f-2 chartlet-f-3"></g><g class="chartlet-f chartlet-n-4 chartlet-f-2 chartlet-f-4 chartlet-f-5 chartlet-f-6"></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 chartlet-f-8"></g><g class="chartlet-f chartlet-n-7 chartlet-f-1 chartlet-f-7 chartlet-f-9"></g><g class="chartlet-f chartlet-n-8 chartlet-f-6 chartlet-f-8"></g><g class="chartlet-f chartlet-n-9 chartlet-f-7 chartlet-f-9"></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><rect x="376" y="183" width="30.16" height="21" class="chartlet-diagram-chip"/><text x="381" y="197" text-anchor="start" class="chartlet-diagram-chip-text">yes</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-7"><rect x="375" y="231.2" width="23.44" height="21" class="chartlet-diagram-chip"/><text x="380" y="245.2" text-anchor="start" class="chartlet-diagram-chip-text">no</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-3"><rect x="604" y="163.8" width="50.32" height="21" class="chartlet-diagram-chip"/><text x="609" y="177.8" text-anchor="start" class="chartlet-diagram-chip-text">update</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-6"><rect x="884" y="183" width="30.16" height="21" class="chartlet-diagram-chip"/><text x="889" y="197" text-anchor="start" class="chartlet-diagram-chip-text">yes</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-5"><rect x="883" y="231.2" width="23.44" height="21" class="chartlet-diagram-chip"/><text x="888" y="245.2" text-anchor="start" class="chartlet-diagram-chip-text">no</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-5"><rect x="993.52" y="300" width="70.48" height="21" class="chartlet-diagram-chip"/><text x="1059" y="314" text-anchor="end" class="chartlet-diagram-chip-text">restocked</text></g><g class="chartlet-f chartlet-n-0 chartlet-f-0 chartlet-f-1"><polyline points="132,190.5 139.654,192.022 146.142,196.358 150.478,202.846 152,210.5 150.478,218.154 146.142,224.642 139.654,228.978 132,230.5 44,230.5 36.346,228.978 29.858,224.642 25.522,218.154 24,210.5 25.522,202.846 29.858,196.358 36.346,192.022 44,190.5 132,190.5" class="chartlet-diagram-shadow"/><polyline points="132,188 139.654,189.522 146.142,193.858 150.478,200.346 152,208 150.478,215.654 146.142,222.142 139.654,226.478 132,228 44,228 36.346,226.478 29.858,222.142 25.522,215.654 24,208 25.522,200.346 29.858,193.858 36.346,189.522 44,188 132,188" class="chartlet-flow-node chartlet-flow-start chartlet-role-green"><title>Order received</title></polyline><text x="88" y="212.5" text-anchor="middle" class="chartlet-flow-label">Order received</text></g><g class="chartlet-f chartlet-n-1 chartlet-f-0 chartlet-f-1 chartlet-f-2 chartlet-f-7"><polyline points="276,178.5 372,210.5 276,242.5 180,210.5 276,178.5" class="chartlet-diagram-shadow"/><polyline points="276,176 372,208 276,240 180,208 276,176" class="chartlet-flow-node chartlet-role-amber"><title>Payment cleared?</title></polyline><text x="276" y="212.5" text-anchor="middle" class="chartlet-flow-label">Payment cleared?</text></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2 chartlet-f-3 chartlet-f-4 chartlet-f-5"><rect x="480" y="178.5" width="120" height="64" class="chartlet-diagram-shadow"/><rect x="480" y="176" width="120" height="64" class="chartlet-flow-node chartlet-role-blue"><title>Reserve stock</title></rect><text x="540" y="212.5" text-anchor="middle" class="chartlet-flow-label">Reserve stock</text></g><g class="chartlet-f chartlet-n-3 chartlet-f-2 chartlet-f-3"><polyline points="752,107.5 752,145.5 753.772,146.794 758.967,148 767.23,149.036 778,149.83 790.541,150.33 804,150.5 817.459,150.33 830,149.83 840.77,149.036 849.033,148 854.228,146.794 856,145.5 856,107.5 854.228,106.206 849.033,105 840.77,103.964 830,103.17 817.459,102.67 804,102.5 790.541,102.67 778,103.17 767.23,103.964 758.967,105 753.772,106.206 752,107.5 752,107.5" class="chartlet-diagram-shadow"/><polyline points="752,105 752,143 753.772,144.294 758.967,145.5 767.23,146.536 778,147.33 790.541,147.83 804,148 817.459,147.83 830,147.33 840.77,146.536 849.033,145.5 854.228,144.294 856,143 856,105 854.228,103.706 849.033,102.5 840.77,101.464 830,100.67 817.459,100.17 804,100 790.541,100.17 778,100.67 767.23,101.464 758.967,102.5 753.772,103.706 752,105 752,105" class="chartlet-flow-node chartlet-role-teal"><title>Inventory</title></polyline><polyline points="752,105 753.772,106.294 758.967,107.5 767.23,108.536 778,109.33 790.541,109.83 804,110 817.459,109.83 830,109.33 840.77,108.536 849.033,107.5 854.228,106.294 856,105" class="chartlet-diagram-rim"/><text x="804" y="131.5" text-anchor="middle" class="chartlet-flow-label">Inventory</text></g><g class="chartlet-f chartlet-n-4 chartlet-f-2 chartlet-f-4 chartlet-f-5 chartlet-f-6"><polyline points="804,178.5 880,210.5 804,242.5 728,210.5 804,178.5" class="chartlet-diagram-shadow"/><polyline points="804,176 880,208 804,240 728,208 804,176" class="chartlet-flow-node chartlet-role-amber"><title>In stock?</title></polyline><text x="804" y="212.5" text-anchor="middle" class="chartlet-flow-label">In stock?</text></g><g class="chartlet-f chartlet-n-5 chartlet-f-2 chartlet-f-4 chartlet-f-5"><rect x="1068" y="258.5" width="120" height="56" class="chartlet-diagram-shadow"/><rect x="1068" y="256" width="120" height="56" class="chartlet-flow-node chartlet-role-blue"><title>Backorder – supplier</title></rect><line x1="1075" y1="256" x2="1075" y2="312" class="chartlet-flow-inner"/><line x1="1181" y1="256" x2="1181" y2="312" class="chartlet-flow-inner"/><text x="1128" y="281.5" text-anchor="middle" class="chartlet-flow-label">Backorder</text><text x="1128" y="295.5" text-anchor="middle" class="chartlet-flow-sublabel">supplier</text></g><g class="chartlet-f chartlet-n-6 chartlet-f-4 chartlet-f-6 chartlet-f-8"><rect x="1076" y="190.5" width="104" height="40" class="chartlet-diagram-shadow"/><rect x="1076" y="188" width="104" height="40" class="chartlet-flow-node chartlet-role-blue"><title>Ship parcel</title></rect><text x="1128" y="212.5" text-anchor="middle" class="chartlet-flow-label">Ship parcel</text></g><g class="chartlet-f chartlet-n-7 chartlet-f-1 chartlet-f-7 chartlet-f-9"><polyline points="470,274.5 620,274.5 610,314.5 460,314.5 470,274.5" class="chartlet-diagram-shadow"/><polyline points="470,272 620,272 610,312 460,312 470,272" class="chartlet-flow-node chartlet-role-violet"><title>Notify customer</title></polyline><text x="540" y="296.5" text-anchor="middle" class="chartlet-flow-label">Notify customer</text></g><g class="chartlet-f chartlet-n-8 chartlet-f-6 chartlet-f-8"><polyline points="1300,190.5 1307.654,192.022 1314.142,196.358 1318.478,202.846 1320,210.5 1318.478,218.154 1314.142,224.642 1307.654,228.978 1300,230.5 1236,230.5 1228.346,228.978 1221.858,224.642 1217.522,218.154 1216,210.5 1217.522,202.846 1221.858,196.358 1228.346,192.022 1236,190.5 1300,190.5" class="chartlet-diagram-shadow"/><polyline points="1300,188 1307.654,189.522 1314.142,193.858 1318.478,200.346 1320,208 1318.478,215.654 1314.142,222.142 1307.654,226.478 1300,228 1236,228 1228.346,226.478 1221.858,222.142 1217.522,215.654 1216,208 1217.522,200.346 1221.858,193.858 1228.346,189.522 1236,188 1300,188" class="chartlet-flow-node chartlet-flow-end chartlet-role-green"><title>Delivered</title></polyline><text x="1268" y="212.5" text-anchor="middle" class="chartlet-flow-label">Delivered</text></g><g class="chartlet-f chartlet-n-9 chartlet-f-7 chartlet-f-9"><polyline points="836,274.5 843.654,276.022 850.142,280.358 854.478,286.846 856,294.5 854.478,302.154 850.142,308.642 843.654,312.978 836,314.5 772,314.5 764.346,312.978 757.858,308.642 753.522,302.154 752,294.5 753.522,286.846 757.858,280.358 764.346,276.022 772,274.5 836,274.5" class="chartlet-diagram-shadow"/><polyline points="836,272 843.654,273.522 850.142,277.858 854.478,284.346 856,292 854.478,299.654 850.142,306.142 843.654,310.478 836,312 772,312 764.346,310.478 757.858,306.142 753.522,299.654 752,292 753.522,284.346 757.858,277.858 764.346,273.522 772,272 836,272" class="chartlet-flow-node chartlet-flow-end chartlet-role-green"><title>Cancelled</title></polyline><text x="804" y="296.5" text-anchor="middle" class="chartlet-flow-label">Cancelled</text></g></svg><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-0" for="chartlet-8bb238ebf6fddad1-focus-0"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-1" for="chartlet-8bb238ebf6fddad1-focus-1"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-2" for="chartlet-8bb238ebf6fddad1-focus-2"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-3" for="chartlet-8bb238ebf6fddad1-focus-3"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-4" for="chartlet-8bb238ebf6fddad1-focus-4"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-5" for="chartlet-8bb238ebf6fddad1-focus-5"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-6" for="chartlet-8bb238ebf6fddad1-focus-6"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-7" for="chartlet-8bb238ebf6fddad1-focus-7"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-8" for="chartlet-8bb238ebf6fddad1-focus-8"></label><label class="chartlet-hotspot" id="chartlet-8bb238ebf6fddad1-hs-9" for="chartlet-8bb238ebf6fddad1-focus-9"></label></div><p class="chartlet-source">Source: Shop operations handbook</p><details class="chartlet-data" data-viz-text><summary>Show chart data</summary><table><caption>Data for Handling an order</caption><thead><tr><th scope="col">Step</th><th scope="col">Kind</th><th scope="col">Leads to</th></tr></thead><tbody><tr><th scope="row">Order received</th><td>start</td><td>Payment cleared?</td></tr><tr><th scope="row">Payment cleared?</th><td>decision</td><td>Reserve stock (yes), Notify customer (no)</td></tr><tr><th scope="row">Reserve stock</th><td>step</td><td>Inventory (update), In stock?</td></tr><tr><th scope="row">Notify customer</th><td>input or output</td><td>Cancelled</td></tr><tr><th scope="row">Inventory</th><td>data store</td><td></td></tr><tr><th scope="row">In stock?</th><td>decision</td><td>Ship parcel (yes), Backorder (no)</td></tr><tr><th scope="row">Cancelled</th><td>end</td><td></td></tr><tr><th scope="row">Ship parcel</th><td>step</td><td>Delivered</td></tr><tr><th scope="row">Backorder</th><td>subprocess</td><td>Reserve stock (restocked)</td></tr><tr><th scope="row">Delivered</th><td>end</td><td></td></tr></tbody></table></details></figure></div>