---
source: src/diagrams/er/renderer.rs
expression: svg
---
<svg id="mermaid-svg" width="100%" xmlns="http://www.w3.org/2000/svg" class="erDiagram" style="max-width:147.594px;" viewBox="0.000 0.000 147.594 449.000"><defs><marker id="mermaid-svg-ONLY_ONE_START" refX="0" refY="9" markerWidth="18" markerHeight="18" orient="auto"><path stroke="#333333" fill="none" d="M9,0 L9,18 M15,0 L15,18"/></marker><marker id="mermaid-svg-ONLY_ONE_END" refX="18" refY="9" markerWidth="18" markerHeight="18" orient="auto"><path stroke="#333333" fill="none" d="M3,0 L3,18 M9,0 L9,18"/></marker><marker id="mermaid-svg-ZERO_OR_ONE_START" refX="0" refY="9" markerWidth="30" markerHeight="18" orient="auto"><circle stroke="#333333" fill="white" cx="21" cy="9" r="6"/><path stroke="#333333" fill="none" d="M9,0 L9,18"/></marker><marker id="mermaid-svg-ZERO_OR_ONE_END" refX="30" refY="9" markerWidth="30" markerHeight="18" orient="auto"><circle stroke="#333333" fill="white" cx="9" cy="9" r="6"/><path stroke="#333333" fill="none" d="M21,0 L21,18"/></marker><marker id="mermaid-svg-ONE_OR_MORE_START" refX="18" refY="18" markerWidth="45" markerHeight="36" orient="auto"><path stroke="#333333" fill="none" d="M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"/></marker><marker id="mermaid-svg-ONE_OR_MORE_END" refX="27" refY="18" markerWidth="45" markerHeight="36" orient="auto"><path stroke="#333333" fill="none" d="M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"/></marker><marker id="mermaid-svg-ZERO_OR_MORE_START" refX="18" refY="18" markerWidth="57" markerHeight="36" orient="auto"><circle stroke="#333333" fill="white" cx="48" cy="18" r="6"/><path stroke="#333333" fill="none" d="M0,18 Q18,0 36,18 Q18,36 0,18"/></marker><marker id="mermaid-svg-ZERO_OR_MORE_END" refX="39" refY="18" markerWidth="57" markerHeight="36" orient="auto"><circle stroke="#333333" fill="white" cx="9" cy="18" r="6"/><path stroke="#333333" fill="none" d="M21,18 Q39,0 57,18 Q39,36 21,18"/></marker></defs><path class="er relationshipLine" d="M73.797,85.000L73.797,93.417C73.797,101.833,73.797,118.667,73.797,135.500C73.797,152.333,73.797,169.167,73.797,177.583L73.797,186.000" style="fill:none;stroke:#333333;" marker-start="url(#mermaid-svg-ONLY_ONE_START)" marker-end="url(#mermaid-svg-ZERO_OR_MORE_END)"/><rect class="relationshipLabelBox" x="53.539" y="126.500" width="40.516" height="21.000" fill="rgba(232, 232, 232, 0.8)"/><g class="label" transform="translate(73.796875,126.5)"><text text-anchor="middle" y="-8.834" font-family="Arial, sans-serif" font-size="14" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>places</tspan></tspan></text></g><path class="er relationshipLine" d="M73.797,263.000L73.797,271.417C73.797,279.833,73.797,296.667,73.797,313.500C73.797,330.333,73.797,347.167,73.797,355.583L73.797,364.000" style="fill:none;stroke:#333333;" marker-start="url(#mermaid-svg-ONLY_ONE_START)" marker-end="url(#mermaid-svg-ONE_OR_MORE_END)"/><rect class="relationshipLabelBox" x="47.695" y="304.500" width="52.203" height="21.000" fill="rgba(232, 232, 232, 0.8)"/><g class="label" transform="translate(73.796875,304.5)"><text text-anchor="middle" y="-8.834" font-family="Arial, sans-serif" font-size="14" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>contains</tspan></tspan></text></g><g id="mermaid-svg-entity-CUSTOMER" transform="translate(8.000,8.000)"><rect class="er entityBox" x="0" y="0" width="131.594" height="77.000" fill="#ECECFF" stroke="#9370DB" stroke-width="1"/><g class="label" transform="translate(20.000,0)"><g class="label" transform="translate(0,29.9984059511158)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>CUSTOMER</tspan></tspan></text></g></g></g><g id="mermaid-svg-entity-ORDER" transform="translate(23.797,186.000)"><rect class="er entityBox" x="0" y="0" width="100.000" height="77.000" fill="#ECECFF" stroke="#9370DB" stroke-width="1"/><g class="label" transform="translate(21.094,0)"><g class="label" transform="translate(0,29.9984059511158)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>ORDER</tspan></tspan></text></g></g></g><g id="mermaid-svg-entity-LINE-ITEM" transform="translate(14.219,364.000)"><rect class="er entityBox" x="0" y="0" width="119.156" height="77.000" fill="#ECECFF" stroke="#9370DB" stroke-width="1"/><g class="label" transform="translate(20.000,0)"><g class="label" transform="translate(0,29.9984059511158)"><text text-anchor="start" y="-10.096" font-family="Arial, sans-serif" font-size="16" fill="#333333"><tspan x="0" y="-0.1em" dy="1.1em"><tspan>LINE-ITEM</tspan></tspan></text></g></g></g></svg>
