<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-b190dd496bf72afc .chartlet-f{opacity:.18}#chartlet-b190dd496bf72afc-hs-0{left:40.889%;top:2.222%;width:17.778%;height:16.667%}#chartlet-b190dd496bf72afc-hs-1{left:42.667%;top:30%;width:14.222%;height:18.889%}#chartlet-b190dd496bf72afc-hs-2{left:21.333%;top:65%;width:12.444%;height:11.111%}#chartlet-b190dd496bf72afc-hs-3{left:21.333%;top:83.889%;width:12.444%;height:13.333%}#chartlet-b190dd496bf72afc-hs-4{left:36.889%;top:65%;width:25.778%;height:11.111%}#chartlet-b190dd496bf72afc-hs-5{left:36.889%;top:84.444%;width:25.778%;height:12.222%}#chartlet-b190dd496bf72afc-hs-6{left:65.778%;top:62.222%;width:12.444%;height:16.667%}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-0:checked) #chartlet-b190dd496bf72afc .chartlet-f-0{opacity:1}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-0:checked) #chartlet-b190dd496bf72afc .chartlet-n-0 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-0:checked) #chartlet-b190dd496bf72afc .chartlet-n-0 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-1:checked) #chartlet-b190dd496bf72afc .chartlet-f-1{opacity:1}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-1:checked) #chartlet-b190dd496bf72afc .chartlet-n-1 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-1:checked) #chartlet-b190dd496bf72afc .chartlet-n-1 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-2:checked) #chartlet-b190dd496bf72afc .chartlet-f-2{opacity:1}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-2:checked) #chartlet-b190dd496bf72afc .chartlet-n-2 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-2:checked) #chartlet-b190dd496bf72afc .chartlet-n-2 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-3:checked) #chartlet-b190dd496bf72afc .chartlet-f-3{opacity:1}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-3:checked) #chartlet-b190dd496bf72afc .chartlet-n-3 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-3:checked) #chartlet-b190dd496bf72afc .chartlet-n-3 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-4:checked) #chartlet-b190dd496bf72afc .chartlet-f-4{opacity:1}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-4:checked) #chartlet-b190dd496bf72afc .chartlet-n-4 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-4:checked) #chartlet-b190dd496bf72afc .chartlet-n-4 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-5:checked) #chartlet-b190dd496bf72afc .chartlet-f-5{opacity:1}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-5:checked) #chartlet-b190dd496bf72afc .chartlet-n-5 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-5:checked) #chartlet-b190dd496bf72afc .chartlet-n-5 .chartlet-seq-box{stroke-width:3}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-6:checked) #chartlet-b190dd496bf72afc .chartlet-f-6{opacity:1}.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-6:checked) #chartlet-b190dd496bf72afc .chartlet-n-6 .chartlet-flow-node,.chartlet-wrapper:has(#chartlet-b190dd496bf72afc-focus-6:checked) #chartlet-b190dd496bf72afc .chartlet-n-6 .chartlet-seq-box{stroke-width:3}</style><details class="chartlet-focus"><summary>Focus</summary><fieldset><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" checked> Show all</label><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" class="chartlet-focus-node" id="chartlet-b190dd496bf72afc-focus-0"> Customer</label><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" class="chartlet-focus-node" id="chartlet-b190dd496bf72afc-focus-1"> Order</label><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" class="chartlet-focus-node" id="chartlet-b190dd496bf72afc-focus-2"> OrderLine</label><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" class="chartlet-focus-node" id="chartlet-b190dd496bf72afc-focus-3"> Product</label><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" class="chartlet-focus-node" id="chartlet-b190dd496bf72afc-focus-4"> Payment</label><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" class="chartlet-focus-node" id="chartlet-b190dd496bf72afc-focus-5"> CardPayment</label><label><input type="radio" name="chartlet-b190dd496bf72afc-focus" class="chartlet-focus-node" id="chartlet-b190dd496bf72afc-focus-6"> Status</label></fieldset></details><figure class="chartlet-figure" data-viz="chart"><figcaption>Order model</figcaption><div class="chartlet-stage"><svg xmlns="http://www.w3.org/2000/svg" width="900" height="720" viewBox="0 0 900 720" id="chartlet-b190dd496bf72afc" role="img" aria-labelledby="chartlet-b190dd496bf72afc-title chartlet-b190dd496bf72afc-description" class="chartlet-root"><title id="chartlet-b190dd496bf72afc-title">Order model</title><desc id="chartlet-b190dd496bf72afc-description">Class diagram with 7 classes and 6 relations. Most connected: Order (4 connections). Bottleneck: Order; without it the diagram falls apart. Customer: 3 attributes, 1 method. Customer is associated with Order (1 : 0..*) [places]. Order: 3 attributes, 2 methods. Order is composed of OrderLine (1 : 1..*); depends on Payment [paid by]; depends on Status. OrderLine: 2 attributes, 0 methods. OrderLine is associated with Product (* : 1). Product: 3 attributes, 0 methods. Payment: 0 attributes, 1 method. CardPayment: 1 attribute, 1 method. CardPayment implements Payment. Status: 4 attributes, 0 methods.</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-b190dd496bf72afc .chartlet-title{font-size:22px;font-weight:650;fill:var(--chartlet-text)}#chartlet-b190dd496bf72afc .chartlet-label,#chartlet-b190dd496bf72afc .chartlet-tick,#chartlet-b190dd496bf72afc .chartlet-value,#chartlet-b190dd496bf72afc .chartlet-value-inverse,#chartlet-b190dd496bf72afc .chartlet-axis-title{font-size:12px;fill:var(--chartlet-muted)}#chartlet-b190dd496bf72afc .chartlet-value,#chartlet-b190dd496bf72afc .chartlet-value-inverse{font-weight:600}#chartlet-b190dd496bf72afc .chartlet-value{fill:var(--chartlet-text)}#chartlet-b190dd496bf72afc .chartlet-value-inverse{fill:var(--chartlet-background)}#chartlet-b190dd496bf72afc .chartlet-axis-title{font-weight:600}#chartlet-b190dd496bf72afc .chartlet-grid{stroke:var(--chartlet-grid);stroke-width:1}#chartlet-b190dd496bf72afc .chartlet-zero{stroke:var(--chartlet-zero);stroke-width:1.5}#chartlet-b190dd496bf72afc .chartlet-bar,#chartlet-b190dd496bf72afc .chartlet-point{fill:var(--chartlet-accent)}#chartlet-b190dd496bf72afc .chartlet-line{fill:none;stroke:var(--chartlet-accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}#chartlet-b190dd496bf72afc .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-b190dd496bf72afc .chartlet-role-blue{fill:var(--chartlet-role-blue-fill);stroke:var(--chartlet-role-blue)}#chartlet-b190dd496bf72afc .chartlet-role-green{fill:var(--chartlet-role-green-fill);stroke:var(--chartlet-role-green)}#chartlet-b190dd496bf72afc .chartlet-role-amber{fill:var(--chartlet-role-amber-fill);stroke:var(--chartlet-role-amber)}#chartlet-b190dd496bf72afc .chartlet-role-teal{fill:var(--chartlet-role-teal-fill);stroke:var(--chartlet-role-teal)}#chartlet-b190dd496bf72afc .chartlet-role-violet{fill:var(--chartlet-role-violet-fill);stroke:var(--chartlet-role-violet)}#chartlet-b190dd496bf72afc .chartlet-role-gray{fill:var(--chartlet-role-gray-fill);stroke:var(--chartlet-role-gray)}#chartlet-b190dd496bf72afc .chartlet-role-red{fill:var(--chartlet-role-red-fill);stroke:var(--chartlet-role-red)}#chartlet-b190dd496bf72afc .chartlet-diagram-rim{fill:none;stroke:var(--chartlet-role-teal);stroke-width:1.5}#chartlet-b190dd496bf72afc .chartlet-diagram-shadow{fill:var(--chartlet-shadow);stroke:none;rx:7px}#chartlet-b190dd496bf72afc .chartlet-diagram-chip{fill:var(--chartlet-background);stroke:var(--chartlet-grid);stroke-width:1;rx:4px}#chartlet-b190dd496bf72afc .chartlet-diagram-chip-text{font-size:12px;fill:var(--chartlet-text)}#chartlet-b190dd496bf72afc .chartlet-diagram-badge{fill:var(--chartlet-accent);stroke:var(--chartlet-background);stroke-width:2}#chartlet-b190dd496bf72afc .chartlet-diagram-badge-text{font-size:10px;font-weight:700;fill:var(--chartlet-background)}#chartlet-b190dd496bf72afc .chartlet-flow-node{stroke-width:1.5;stroke-linejoin:round;rx:7px}#chartlet-b190dd496bf72afc .chartlet-flow-start{stroke-width:2}#chartlet-b190dd496bf72afc .chartlet-flow-end{stroke-width:3}#chartlet-b190dd496bf72afc .chartlet-flow-external{stroke-dasharray:5 3}#chartlet-b190dd496bf72afc .chartlet-flow-inner{stroke:var(--chartlet-role-blue);stroke-width:1}#chartlet-b190dd496bf72afc .chartlet-flow-label{font-size:13px;font-weight:600;fill:var(--chartlet-text)}#chartlet-b190dd496bf72afc .chartlet-flow-sublabel{font-size:11px;fill:var(--chartlet-muted)}#chartlet-b190dd496bf72afc .chartlet-flow-edge{fill:none;stroke:var(--chartlet-zero);stroke-width:1.4;stroke-linejoin:round}#chartlet-b190dd496bf72afc .chartlet-flow-dashed{stroke-dasharray:5 4}#chartlet-b190dd496bf72afc .chartlet-flow-dotted{stroke-dasharray:1 4;stroke-linecap:round}#chartlet-b190dd496bf72afc .chartlet-flow-main{stroke:var(--chartlet-accent);stroke-width:2.2}#chartlet-b190dd496bf72afc .chartlet-flow-head{fill:var(--chartlet-zero);stroke:var(--chartlet-zero);stroke-width:1;stroke-linejoin:round}#chartlet-b190dd496bf72afc .chartlet-flow-main-head{fill:var(--chartlet-accent);stroke:var(--chartlet-accent)}#chartlet-b190dd496bf72afc .chartlet-flow-lane{fill:var(--chartlet-lane);stroke:var(--chartlet-grid);stroke-width:1}#chartlet-b190dd496bf72afc .chartlet-flow-lane-alt{fill:var(--chartlet-background)}#chartlet-b190dd496bf72afc .chartlet-flow-lane-head{fill:var(--chartlet-lane-head);stroke:none}#chartlet-b190dd496bf72afc .chartlet-flow-lane-label{font-size:11px;font-weight:650;fill:var(--chartlet-muted);letter-spacing:.04em}#chartlet-b190dd496bf72afc .chartlet-flow-group{fill:var(--chartlet-accent);fill-opacity:.04;stroke:var(--chartlet-zero);stroke-width:1;stroke-dasharray:4 3;rx:10px}#chartlet-b190dd496bf72afc .chartlet-flow-group-label{font-size:11px;font-weight:600;fill:var(--chartlet-muted)}#chartlet-b190dd496bf72afc .chartlet-class-member{font-size:12px;fill:var(--chartlet-text)}#chartlet-b190dd496bf72afc .chartlet-flow-card{font-size:11px;fill:var(--chartlet-muted)}#chartlet-b190dd496bf72afc .chartlet-flow-hollow{fill:var(--chartlet-background)}#chartlet-b190dd496bf72afc .chartlet-flow-solid{fill:var(--chartlet-zero)}#chartlet-b190dd496bf72afc .chartlet-flow-open{fill:none;stroke:var(--chartlet-zero);stroke-width:1.4;stroke-linejoin:round}</style><g class="chartlet-f chartlet-f-0 chartlet-f-1"><polyline points="448,136 448,216" class="chartlet-flow-edge"><title>Customer → Order: places</title></polyline><text x="436" y="212" text-anchor="end" class="chartlet-flow-card">0..*</text><text x="436" y="148" text-anchor="end" class="chartlet-flow-card">1</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-2"><polyline points="424,368 424,413.875 248,413.875 248,468" class="chartlet-flow-edge"><title>Order → OrderLine</title></polyline><text x="236" y="464" text-anchor="end" class="chartlet-flow-card">1..*</text><polyline points="424,352 429,360 424,368 419,360 424,352" class="chartlet-flow-head chartlet-flow-solid"/><text x="412" y="380" text-anchor="end" class="chartlet-flow-card">1</text></g><g class="chartlet-f chartlet-f-2 chartlet-f-3"><polyline points="248,548 248,604" class="chartlet-flow-edge"><title>OrderLine → Product</title></polyline><text x="236" y="600" text-anchor="end" class="chartlet-flow-card">1</text><text x="236" y="560" text-anchor="end" class="chartlet-flow-card">*</text></g><g class="chartlet-f chartlet-f-4 chartlet-f-5"><polyline points="448,560 448,608" class="chartlet-flow-edge chartlet-flow-dashed"><title>Payment → CardPayment</title></polyline><polyline points="448,548 454,560 442,560 448,548" class="chartlet-flow-head chartlet-flow-hollow"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-4"><polyline points="448,352 448,460" class="chartlet-flow-edge chartlet-flow-dashed"><title>Order → Payment: paid by</title></polyline><polyline points="444.5,460 448,468 451.5,460" class="chartlet-flow-open"/></g><g class="chartlet-f chartlet-f-1 chartlet-f-6"><polyline points="472,352 472,413.875 648,413.875 648,440" class="chartlet-flow-edge chartlet-flow-dashed"><title>Order → Status</title></polyline><polyline points="644.5,440 648,448 651.5,440" class="chartlet-flow-open"/></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-4 chartlet-f-6"></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2 chartlet-f-3"></g><g class="chartlet-f chartlet-n-3 chartlet-f-2 chartlet-f-3"></g><g class="chartlet-f chartlet-n-4 chartlet-f-1 chartlet-f-4 chartlet-f-5"></g><g class="chartlet-f chartlet-n-5 chartlet-f-4 chartlet-f-5"></g><g class="chartlet-f chartlet-n-6 chartlet-f-1 chartlet-f-6"></g><g class="chartlet-f chartlet-f-0 chartlet-f-1"><rect x="452" y="141" width="47.2" height="21" class="chartlet-diagram-chip"/><text x="457" y="155" text-anchor="start" class="chartlet-diagram-chip-text">places</text></g><g class="chartlet-f chartlet-f-1 chartlet-f-4"><rect x="476" y="357" width="51.04" height="21" class="chartlet-diagram-chip"/><text x="481" y="371" text-anchor="start" class="chartlet-diagram-chip-text">paid by</text></g><g class="chartlet-f chartlet-n-0 chartlet-f-0 chartlet-f-1"><rect x="368" y="18.5" width="160" height="120" class="chartlet-diagram-shadow"/><rect x="368" y="16" width="160" height="120" class="chartlet-flow-node chartlet-role-blue chartlet-class"><title>Customer</title></rect><text x="448" y="42" text-anchor="middle" class="chartlet-flow-label">Customer</text><line x1="368" y1="48" x2="528" y2="48" class="chartlet-flow-inner"/><text x="380" y="65" text-anchor="start" class="chartlet-class-member">+ id: Int</text><text x="380" y="80" text-anchor="start" class="chartlet-class-member">+ name: String</text><text x="380" y="95" text-anchor="start" class="chartlet-class-member">+ email: String</text><line x1="368" y1="105" x2="528" y2="105" class="chartlet-flow-inner"/><text x="380" y="122" text-anchor="start" class="chartlet-class-member">+ placeOrder(): Order</text></g><g class="chartlet-f chartlet-n-1 chartlet-f-0 chartlet-f-1 chartlet-f-2 chartlet-f-4 chartlet-f-6"><rect x="384" y="218.5" width="128" height="136" class="chartlet-diagram-shadow"/><rect x="384" y="216" width="128" height="136" class="chartlet-flow-node chartlet-role-blue chartlet-class"><title>Order</title></rect><text x="448" y="242" text-anchor="middle" class="chartlet-flow-label">Order</text><line x1="384" y1="248" x2="512" y2="248" class="chartlet-flow-inner"/><text x="396" y="265" text-anchor="start" class="chartlet-class-member">+ id: Int</text><text x="396" y="280" text-anchor="start" class="chartlet-class-member">+ placedAt: Date</text><text x="396" y="295" text-anchor="start" class="chartlet-class-member">+ status: Status</text><line x1="384" y1="305" x2="512" y2="305" class="chartlet-flow-inner"/><text x="396" y="322" text-anchor="start" class="chartlet-class-member">+ total(): Money</text><text x="396" y="337" text-anchor="start" class="chartlet-class-member">+ cancel()</text></g><g class="chartlet-f chartlet-n-2 chartlet-f-1 chartlet-f-2 chartlet-f-3"><rect x="192" y="470.5" width="112" height="80" class="chartlet-diagram-shadow"/><rect x="192" y="468" width="112" height="80" class="chartlet-flow-node chartlet-role-blue chartlet-class"><title>OrderLine</title></rect><text x="248" y="494" text-anchor="middle" class="chartlet-flow-label">OrderLine</text><line x1="192" y1="500" x2="304" y2="500" class="chartlet-flow-inner"/><text x="204" y="517" text-anchor="start" class="chartlet-class-member">+ quantity: Int</text><text x="204" y="532" text-anchor="start" class="chartlet-class-member">+ price: Money</text></g><g class="chartlet-f chartlet-n-3 chartlet-f-2 chartlet-f-3"><rect x="192" y="606.5" width="112" height="96" class="chartlet-diagram-shadow"/><rect x="192" y="604" width="112" height="96" class="chartlet-flow-node chartlet-role-blue chartlet-class"><title>Product</title></rect><text x="248" y="630" text-anchor="middle" class="chartlet-flow-label">Product</text><line x1="192" y1="636" x2="304" y2="636" class="chartlet-flow-inner"/><text x="204" y="653" text-anchor="start" class="chartlet-class-member">+ sku: String</text><text x="204" y="668" text-anchor="start" class="chartlet-class-member">+ name: String</text><text x="204" y="683" text-anchor="start" class="chartlet-class-member">+ price: Money</text></g><g class="chartlet-f chartlet-n-4 chartlet-f-1 chartlet-f-4 chartlet-f-5"><rect x="332" y="470.5" width="232" height="80" class="chartlet-diagram-shadow"/><rect x="332" y="468" width="232" height="80" class="chartlet-flow-node chartlet-role-blue chartlet-class"><title>Payment – «interface»</title></rect><text x="448" y="491" text-anchor="middle" class="chartlet-flow-sublabel">«interface»</text><text x="448" y="508" text-anchor="middle" class="chartlet-flow-label">Payment</text><line x1="332" y1="514" x2="564" y2="514" class="chartlet-flow-inner"/><text x="344" y="531" text-anchor="start" class="chartlet-class-member">+ charge(amount: Money): Receipt</text></g><g class="chartlet-f chartlet-n-5 chartlet-f-4 chartlet-f-5"><rect x="332" y="610.5" width="232" height="88" class="chartlet-diagram-shadow"/><rect x="332" y="608" width="232" height="88" class="chartlet-flow-node chartlet-role-blue chartlet-class"><title>CardPayment</title></rect><text x="448" y="634" text-anchor="middle" class="chartlet-flow-label">CardPayment</text><line x1="332" y1="640" x2="564" y2="640" class="chartlet-flow-inner"/><text x="344" y="657" text-anchor="start" class="chartlet-class-member">- number: String</text><line x1="332" y1="667" x2="564" y2="667" class="chartlet-flow-inner"/><text x="344" y="684" text-anchor="start" class="chartlet-class-member">+ charge(amount: Money): Receipt</text></g><g class="chartlet-f chartlet-n-6 chartlet-f-1 chartlet-f-6"><rect x="592" y="450.5" width="112" height="120" class="chartlet-diagram-shadow"/><rect x="592" y="448" width="112" height="120" class="chartlet-flow-node chartlet-role-blue chartlet-class"><title>Status – «enumeration»</title></rect><text x="648" y="471" text-anchor="middle" class="chartlet-flow-sublabel">«enumeration»</text><text x="648" y="488" text-anchor="middle" class="chartlet-flow-label">Status</text><line x1="592" y1="494" x2="704" y2="494" class="chartlet-flow-inner"/><text x="604" y="511" text-anchor="start" class="chartlet-class-member">PLACED</text><text x="604" y="526" text-anchor="start" class="chartlet-class-member">PAID</text><text x="604" y="541" text-anchor="start" class="chartlet-class-member">SHIPPED</text><text x="604" y="556" text-anchor="start" class="chartlet-class-member">CANCELLED</text></g></svg><label class="chartlet-hotspot" id="chartlet-b190dd496bf72afc-hs-0" for="chartlet-b190dd496bf72afc-focus-0"></label><label class="chartlet-hotspot" id="chartlet-b190dd496bf72afc-hs-1" for="chartlet-b190dd496bf72afc-focus-1"></label><label class="chartlet-hotspot" id="chartlet-b190dd496bf72afc-hs-2" for="chartlet-b190dd496bf72afc-focus-2"></label><label class="chartlet-hotspot" id="chartlet-b190dd496bf72afc-hs-3" for="chartlet-b190dd496bf72afc-focus-3"></label><label class="chartlet-hotspot" id="chartlet-b190dd496bf72afc-hs-4" for="chartlet-b190dd496bf72afc-focus-4"></label><label class="chartlet-hotspot" id="chartlet-b190dd496bf72afc-hs-5" for="chartlet-b190dd496bf72afc-focus-5"></label><label class="chartlet-hotspot" id="chartlet-b190dd496bf72afc-hs-6" for="chartlet-b190dd496bf72afc-focus-6"></label></div><p class="chartlet-source">Source: Illustrative domain model</p><details class="chartlet-data" data-viz-text><summary>Show chart data</summary><table><caption>Data for Order model</caption><thead><tr><th scope="col">Item</th><th scope="col">Kind</th><th scope="col">Attributes</th><th scope="col">Methods</th><th scope="col">Relations</th></tr></thead><tbody><tr><th scope="row">Customer</th><td>Class</td><td>+ id: Int; + name: String; + email: String</td><td>+ placeOrder(): Order</td><td>is associated with Order (1 : 0..*) [places]</td></tr><tr><th scope="row">Order</th><td>Class</td><td>+ id: Int; + placedAt: Date; + status: Status</td><td>+ total(): Money; + cancel()</td><td>is composed of OrderLine (1 : 1..*); depends on Payment [paid by]; depends on Status</td></tr><tr><th scope="row">OrderLine</th><td>Class</td><td>+ quantity: Int; + price: Money</td><td></td><td>is associated with Product (* : 1)</td></tr><tr><th scope="row">Product</th><td>Class</td><td>+ sku: String; + name: String; + price: Money</td><td></td><td></td></tr><tr><th scope="row">Payment</th><td>Interface</td><td></td><td>+ charge(amount: Money): Receipt</td><td></td></tr><tr><th scope="row">CardPayment</th><td>Class</td><td>- number: String</td><td>+ charge(amount: Money): Receipt</td><td>implements Payment</td></tr><tr><th scope="row">Status</th><td>Enumeration</td><td>PLACED; PAID; SHIPPED; CANCELLED</td><td></td><td></td></tr></tbody></table></details></figure></div>