Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

build(erd): regenerate examples, gallery and archive for first-draft layout

tt-a1i48ff359d97fe
diff --git a/archify.zip b/archify.zip
index a7e1b0fb..a2818b70 100644
Binary files a/archify.zip and b/archify.zip differ
diff --git a/archify/examples/erd-orders-rendered.html b/archify/examples/erd-orders-rendered.html
index 39366f3e..91af14e9 100644
--- a/archify/examples/erd-orders-rendered.html
+++ b/archify/examples/erd-orders-rendered.html
@@ -4972,7 +4972,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 954 488" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-erd-ui="cards" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
+ <svg viewBox="0 0 999 488" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-erd-ui="cards" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Order management schema</title>
<desc id="archify-diagram-description">An entity-relationship diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5049,15 +5049,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<text data-domain-label="" x="30" y="35" class="t-muted" font-size="9" font-weight="700">accounts</text>
</g>
<g data-domain-band="checkout">
- <rect x="332" y="22" width="603" height="202" rx="8" class="c-lane" stroke-width="1"/>
- <text data-domain-label="" x="342" y="35" class="t-muted" font-size="9" font-weight="700">checkout</text>
+ <rect x="377" y="22" width="603" height="202" rx="8" class="c-lane" stroke-width="1"/>
+ <text data-domain-label="" x="387" y="35" class="t-muted" font-size="9" font-weight="700">checkout</text>
</g>
<g data-domain-band="line items">
- <rect x="664" y="236" width="278" height="182" rx="8" class="c-lane" stroke-width="1"/>
- <text data-domain-label="" x="674" y="249" class="t-muted" font-size="9" font-weight="700">line items</text>
+ <rect x="709" y="236" width="278" height="182" rx="8" class="c-lane" stroke-width="1"/>
+ <text data-domain-label="" x="719" y="249" class="t-muted" font-size="9" font-weight="700">line items</text>
</g>
<g data-domain-band="catalog">
- <rect x="22" y="236" width="584" height="202" rx="8" class="c-lane" stroke-width="1"/>
+ <rect x="22" y="236" width="629" height="202" rx="8" class="c-lane" stroke-width="1"/>
<text data-domain-label="" x="32" y="249" class="t-muted" font-size="9" font-weight="700">catalog</text>
</g>
@@ -5065,14 +5065,14 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
to the shared side, so a cardinality glyph that reaches further out
has to stay readable over it, and the ring's mask has to be able to
punch through) -->
- <path data-er-trunk="" data-composition-points="660,140;660,320" d="M 660 140 L 660 320" class="a-default" stroke-width="1.5"/>
+ <path data-er-trunk="" data-composition-points="705,140;705,320" d="M 705 140 L 705 320" class="a-default" stroke-width="1.5"/>
<!-- Relationship paths (before entities for correct z-order) -->
- <path data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one" data-composition-points="344,128;308,128;308,98;272,98" d="M 344 128 L 316 128 Q 308 128 308 120 L 308 106 Q 308 98 300 98 L 272 98" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="payment" data-edge-to="order" data-edge-key="1" data-edge-id="payment_order" data-er-ends="many one optional" data-composition-points="683,116;604,116" d="M 683 116 L 604 116" class="a-dashed" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="order_item" data-edge-to="order" data-edge-key="2" data-edge-id="order_item_order" data-er-ends="many one" data-composition-points="676,320;660,320;660,140;604,140" d="M 676 320 L 660 320 M 660 140 L 604 140" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="order_item" data-edge-to="product" data-edge-key="3" data-edge-id="order_item_product" data-er-ends="many one" data-composition-points="676,344;594,344" d="M 676 344 L 594 344" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="inventory" data-edge-to="product" data-edge-key="4" data-edge-id="inventory_product" data-er-ends="many one" data-composition-points="270,332;354,332" d="M 270 332 L 354 332" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one" data-composition-points="389,128;330.5,128;330.5,98;272,98" d="M 389 128 L 338.5 128 Q 330.5 128 330.5 120 L 330.5 106 Q 330.5 98 322.5 98 L 272 98" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="payment" data-edge-to="order" data-edge-key="1" data-edge-id="payment_order" data-er-ends="many one optional" data-composition-points="728,116;649,116" d="M 728 116 L 649 116" class="a-dashed" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order_item" data-edge-to="order" data-edge-key="2" data-edge-id="order_item_order" data-er-ends="many one" data-composition-points="721,320;705,320;705,140;649,140" d="M 721 320 L 705 320 M 705 140 L 649 140" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order_item" data-edge-to="product" data-edge-key="3" data-edge-id="order_item_product" data-er-ends="many one" data-composition-points="721,344;639,344" d="M 721 344 L 639 344" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="inventory" data-edge-to="product" data-edge-key="4" data-edge-id="inventory_product" data-er-ends="many one" data-composition-points="270,332;399,332" d="M 270 332 L 399 332" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<!-- Entities -->
<g id="node-customer" data-node-id="customer" data-node-label="customer" tabindex="0" role="button" aria-label="Focus customer, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="accounts" data-node-context="Entity">
@@ -5114,160 +5114,160 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<g id="node-order" data-node-id="order" data-node-label="order" tabindex="0" role="button" aria-label="Focus order, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="checkout" data-node-context="Entity">
<title>order · Entity · checkout</title>
- <rect x="344" y="40" width="260" height="176" rx="5" class="c-mask"/>
- <rect x="344" y="40" width="260" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 349 40 H 599 Q 604 40 604 45 V 70 H 344 V 45 Q 344 40 349 40 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(352 47) scale(0.875)">
+ <rect x="389" y="40" width="260" height="176" rx="5" class="c-mask"/>
+ <rect x="389" y="40" width="260" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 394 40 H 644 Q 649 40 649 45 V 70 H 389 V 45 Q 389 40 394 40 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(397 47) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="474" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order</text>
- <line x1="344" y1="70" x2="604" y2="70" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="519" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order</text>
+ <line x1="389" y1="70" x2="649" y2="70" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="344" y1="70" x2="604" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="354" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="365" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="386" y="85" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="592" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="389" y1="70" x2="649" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="399" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="410" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="431" y="85" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="637" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="344" y1="90" x2="604" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="354" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="365" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="386" y="105" class="t-primary" font-size="11">customer_id</text>
- <text data-detail="context" x="592" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="389" y1="90" x2="649" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="399" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="410" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="431" y="105" class="t-primary" font-size="11">customer_id</text>
+ <text data-detail="context" x="637" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="344" y1="110" x2="604" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="110" x2="649" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="125" class="t-primary" font-size="11">status</text>
- <text data-detail="context" x="592" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
+ <text data-detail="context" x="431" y="125" class="t-primary" font-size="11">status</text>
+ <text data-detail="context" x="637" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="344" y1="130" x2="604" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="130" x2="649" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="145" class="t-primary" font-size="11">total_amount</text>
- <text data-detail="context" x="592" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="431" y="145" class="t-primary" font-size="11">total_amount</text>
+ <text data-detail="context" x="637" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="344" y1="150" x2="604" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="150" x2="649" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="165" class="t-primary" font-size="11">currency</text>
- <text data-detail="context" x="592" y="165" class="er-type" font-size="10.5" text-anchor="end">char(3)</text>
+ <text data-detail="context" x="431" y="165" class="t-primary" font-size="11">currency</text>
+ <text data-detail="context" x="637" y="165" class="er-type" font-size="10.5" text-anchor="end">char(3)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="344" y1="170" x2="604" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="170" x2="649" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="185" class="t-primary" font-size="11">placed_at</text>
- <text data-detail="context" x="592" y="185" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="431" y="185" class="t-primary" font-size="11">placed_at</text>
+ <text data-detail="context" x="637" y="185" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
<g data-detail="context" data-er-row="6">
- <line x1="344" y1="190" x2="604" y2="190" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="190" x2="649" y2="190" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="205" class="t-primary" font-size="11">updated_at</text>
- <text data-detail="context" x="592" y="205" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="431" y="205" class="t-primary" font-size="11">updated_at</text>
+ <text data-detail="context" x="637" y="205" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
</g>
<g id="node-order_item" data-node-id="order_item" data-node-label="order_item" tabindex="0" role="button" aria-label="Focus order_item, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="line items" data-node-context="Entity">
<title>order_item · Entity · line items</title>
- <rect x="676" y="254" width="254" height="156" rx="5" class="c-mask"/>
- <rect x="676" y="254" width="254" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 681 254 H 925 Q 930 254 930 259 V 284 H 676 V 259 Q 676 254 681 254 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(684 261) scale(0.875)">
+ <rect x="721" y="254" width="254" height="156" rx="5" class="c-mask"/>
+ <rect x="721" y="254" width="254" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 726 254 H 970 Q 975 254 975 259 V 284 H 721 V 259 Q 721 254 726 254 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(729 261) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="803" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order_item</text>
- <line x1="676" y1="284" x2="930" y2="284" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="848" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order_item</text>
+ <line x1="721" y1="284" x2="975" y2="284" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="676" y1="284" x2="930" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="697" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="718" y="299" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="918" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="284" x2="975" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="742" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="763" y="299" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="963" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="676" y1="304" x2="930" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="697" y="319" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="718" y="319" class="t-primary" font-size="11">order_id</text>
- <text data-detail="context" x="918" y="319" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="304" x2="975" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="742" y="319" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="763" y="319" class="t-primary" font-size="11">order_id</text>
+ <text data-detail="context" x="963" y="319" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="676" y1="324" x2="930" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="329" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="697" y="339" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="718" y="339" class="t-primary" font-size="11">product_id</text>
- <text data-detail="context" x="918" y="339" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="324" x2="975" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="329" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="742" y="339" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="763" y="339" class="t-primary" font-size="11">product_id</text>
+ <text data-detail="context" x="963" y="339" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="676" y1="344" x2="930" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="344" x2="975" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="359" class="t-primary" font-size="11">quantity</text>
- <text data-detail="context" x="918" y="359" class="er-type" font-size="10.5" text-anchor="end">int</text>
+ <text data-detail="context" x="763" y="359" class="t-primary" font-size="11">quantity</text>
+ <text data-detail="context" x="963" y="359" class="er-type" font-size="10.5" text-anchor="end">int</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="676" y1="364" x2="930" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="364" x2="975" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="379" class="t-primary" font-size="11">unit_price</text>
- <text data-detail="context" x="918" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="763" y="379" class="t-primary" font-size="11">unit_price</text>
+ <text data-detail="context" x="963" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="676" y1="384" x2="930" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="384" x2="975" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="399" class="t-primary" font-size="11">discount_amount</text>
- <text data-detail="context" x="918" y="399" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="763" y="399" class="t-primary" font-size="11">discount_amount</text>
+ <text data-detail="context" x="963" y="399" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
</g>
<g id="node-product" data-node-id="product" data-node-label="product" tabindex="0" role="button" aria-label="Focus product, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="catalog" data-node-context="Entity">
<title>product · Entity · catalog</title>
- <rect x="354" y="254" width="240" height="176" rx="5" class="c-mask"/>
- <rect x="354" y="254" width="240" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 359 254 H 589 Q 594 254 594 259 V 284 H 354 V 259 Q 354 254 359 254 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(362 261) scale(0.875)">
+ <rect x="399" y="254" width="240" height="176" rx="5" class="c-mask"/>
+ <rect x="399" y="254" width="240" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 404 254 H 634 Q 639 254 639 259 V 284 H 399 V 259 Q 399 254 404 254 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(407 261) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="474" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">product</text>
- <line x1="354" y1="284" x2="594" y2="284" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="519" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">product</text>
+ <line x1="399" y1="284" x2="639" y2="284" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="354" y1="284" x2="594" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="364" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="375" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="396" y="299" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="582" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="399" y1="284" x2="639" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="409" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="420" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="441" y="299" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="627" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="354" y1="304" x2="594" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="364" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="uk"/><text data-detail="context" x="375" y="319" class="t-muted" font-size="9" font-weight="600">UK</text>
- <text data-detail="context" x="396" y="319" class="t-primary" font-size="11">sku</text>
- <text data-detail="context" x="582" y="319" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
+ <line x1="399" y1="304" x2="639" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="409" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="uk"/><text data-detail="context" x="420" y="319" class="t-muted" font-size="9" font-weight="600">UK</text>
+ <text data-detail="context" x="441" y="319" class="t-primary" font-size="11">sku</text>
+ <text data-detail="context" x="627" y="319" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="354" y1="324" x2="594" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="324" x2="639" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="339" class="t-primary" font-size="11">name</text>
- <text data-detail="context" x="582" y="339" class="er-type" font-size="10.5" text-anchor="end">varchar(160)</text>
+ <text data-detail="context" x="441" y="339" class="t-primary" font-size="11">name</text>
+ <text data-detail="context" x="627" y="339" class="er-type" font-size="10.5" text-anchor="end">varchar(160)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="354" y1="344" x2="594" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="344" x2="639" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="359" class="t-primary" font-size="11">price</text>
- <text data-detail="context" x="582" y="359" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="441" y="359" class="t-primary" font-size="11">price</text>
+ <text data-detail="context" x="627" y="359" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="354" y1="364" x2="594" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="364" x2="639" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="379" class="t-primary" font-size="11">cost_amount</text>
- <text data-detail="context" x="582" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="441" y="379" class="t-primary" font-size="11">cost_amount</text>
+ <text data-detail="context" x="627" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="354" y1="384" x2="594" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="384" x2="639" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="399" class="t-primary" font-size="11">active</text>
- <text data-detail="context" x="582" y="399" class="er-type" font-size="10.5" text-anchor="end">boolean</text>
+ <text data-detail="context" x="441" y="399" class="t-primary" font-size="11">active</text>
+ <text data-detail="context" x="627" y="399" class="er-type" font-size="10.5" text-anchor="end">boolean</text>
</g>
<g data-detail="context" data-er-row="6">
- <line x1="354" y1="404" x2="594" y2="404" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="404" x2="639" y2="404" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="419" class="t-primary" font-size="11">created_at</text>
- <text data-detail="context" x="582" y="419" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="441" y="419" class="t-primary" font-size="11">created_at</text>
+ <text data-detail="context" x="627" y="419" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
</g>
@@ -5322,57 +5322,57 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<g id="node-payment" data-node-id="payment" data-node-label="payment" tabindex="0" role="button" aria-label="Focus payment, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="checkout" data-node-context="Entity">
<title>payment · Entity · checkout</title>
- <rect x="683" y="40" width="240" height="156" rx="5" class="c-mask"/>
- <rect x="683" y="40" width="240" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 688 40 H 918 Q 923 40 923 45 V 70 H 683 V 45 Q 683 40 688 40 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(691 47) scale(0.875)">
+ <rect x="728" y="40" width="240" height="156" rx="5" class="c-mask"/>
+ <rect x="728" y="40" width="240" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 733 40 H 963 Q 968 40 968 45 V 70 H 728 V 45 Q 728 40 733 40 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(736 47) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="803" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">payment</text>
- <line x1="683" y1="70" x2="923" y2="70" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="848" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">payment</text>
+ <line x1="728" y1="70" x2="968" y2="70" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="683" y1="70" x2="923" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="693" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="704" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="725" y="85" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="911" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="728" y1="70" x2="968" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="738" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="749" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="770" y="85" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="956" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="683" y1="90" x2="923" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="693" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="704" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="725" y="105" class="t-primary" font-size="11">order_id</text>
- <text data-detail="context" x="911" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="728" y1="90" x2="968" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="738" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="749" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="770" y="105" class="t-primary" font-size="11">order_id</text>
+ <text data-detail="context" x="956" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="683" y1="110" x2="923" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="110" x2="968" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="125" class="t-primary" font-size="11">method</text>
- <text data-detail="context" x="911" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
+ <text data-detail="context" x="770" y="125" class="t-primary" font-size="11">method</text>
+ <text data-detail="context" x="956" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="683" y1="130" x2="923" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="130" x2="968" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="145" class="t-primary" font-size="11">amount</text>
- <text data-detail="context" x="911" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="770" y="145" class="t-primary" font-size="11">amount</text>
+ <text data-detail="context" x="956" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="683" y1="150" x2="923" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="150" x2="968" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="165" class="t-primary" font-size="11">paid_at</text>
- <text data-detail="context" x="911" y="165" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="770" y="165" class="t-primary" font-size="11">paid_at</text>
+ <text data-detail="context" x="956" y="165" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="683" y1="170" x2="923" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="170" x2="968" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="185" class="t-primary" font-size="11">external_ref</text>
- <text data-detail="context" x="911" y="185" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
+ <text data-detail="context" x="770" y="185" class="t-primary" font-size="11">external_ref</text>
+ <text data-detail="context" x="956" y="185" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
</g>
</g>
<!-- Relationship labels -->
<g data-detail="context" data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one">
- <rect x="277.89" y="93" width="60.22" height="14" rx="3" class="c-mask"/>
- <text x="308" y="103" class="t-muted" font-size="9" text-anchor="middle">placed by</text>
+ <rect x="300.39" y="93" width="60.22" height="14" rx="3" class="c-mask"/>
+ <text x="330.5" y="103" class="t-muted" font-size="9" text-anchor="middle">placed by</text>
</g>
<!-- Legend -->
diff --git a/archify/examples/subscription-billing-rendered.html b/archify/examples/subscription-billing-rendered.html
index 617974c8..74c70ca6 100644
--- a/archify/examples/subscription-billing-rendered.html
+++ b/archify/examples/subscription-billing-rendered.html
@@ -5068,14 +5068,14 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Relationship paths (before entities for correct z-order) -->
- <path data-edge-from="membership" data-edge-to="tenant" data-edge-key="0" data-edge-id="membership_tenant" data-er-ends="many one" data-composition-points="145,464;145,401;29,401;29,200;157,200;157,176" d="M 145 464 L 145 409 Q 145 401 137 401 L 37 401 Q 29 401 29 393 L 29 208 Q 29 200 37 200 L 149 200 Q 157 200 157 192 L 157 176" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="membership" data-edge-to="tenant" data-edge-key="0" data-edge-id="membership_tenant" data-er-ends="many one" data-composition-points="282,532;306,532;306,108;277,108" d="M 282 532 L 298 532 Q 306 532 306 524 L 306 116 Q 306 108 298 108 L 277 108" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="membership" data-edge-to="user_account" data-edge-key="1" data-edge-id="membership_user" data-er-ends="many one" data-composition-points="169,464;169,398" d="M 169 464 L 169 398" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="price" data-edge-to="plan" data-edge-key="2" data-edge-id="price_plan" data-er-ends="many one" data-composition-points="782,242;782,176" d="M 782 242 L 782 176" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="subscription" data-edge-to="tenant" data-edge-key="3" data-edge-id="subscription_tenant" data-er-ends="many one" data-composition-points="352,120;277,120" d="M 352 120 L 277 120" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="subscription" data-edge-to="price" data-edge-key="4" data-edge-id="subscription_price" data-er-ends="many one" data-composition-points="592,128;627,128;627,310;662,310" d="M 592 128 L 619 128 Q 627 128 627 136 L 627 302 Q 627 310 635 310 L 662 310" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="invoice" data-edge-to="subscription" data-edge-key="5" data-edge-id="invoice_subscription" data-er-ends="many one" data-composition-points="472,242;472,216" d="M 472 242 L 472 216" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="invoice_line" data-edge-to="invoice" data-edge-key="6" data-edge-id="invoice_line_invoice" data-er-ends="many one" data-composition-points="472,464;472,438" d="M 472 464 L 472 438" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="payment_method" data-edge-to="tenant" data-edge-key="7" data-edge-id="payment_method_tenant" data-er-ends="many one" data-composition-points="966,118;905,118;905,37;301,37;301,96;277,96" d="M 966 118 L 913 118 Q 905 118 905 110 L 905 45 Q 905 37 897 37 L 309 37 Q 301 37 301 45 L 301 88 Q 301 96 293 96 L 277 96" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="payment_method" data-edge-to="tenant" data-edge-key="7" data-edge-id="payment_method_tenant" data-er-ends="many one" data-composition-points="966,118;942,118;942,37;301,37;301,96;277,96" d="M 966 118 L 950 118 Q 942 118 942 110 L 942 45 Q 942 37 934 37 L 309 37 Q 301 37 301 45 L 301 88 Q 301 96 293 96 L 277 96" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="payment" data-edge-to="invoice" data-edge-key="8" data-edge-id="payment_invoice" data-er-ends="many one optional" data-composition-points="966,320;905,320;905,381;622,381;622,340;598,340" d="M 966 320 L 913 320 Q 905 320 905 328 L 905 373 Q 905 381 897 381 L 630 381 Q 622 381 622 373 L 622 348 Q 622 340 614 340 L 598 340" class="a-default" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="payment" data-edge-to="payment_method" data-edge-key="9" data-edge-id="payment_method_of_payment" data-er-ends="many one" data-composition-points="1086,242;1086,196" d="M 1086 242 L 1086 196" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="refund" data-edge-to="payment" data-edge-key="10" data-edge-id="refund_payment" data-er-ends="many one" data-composition-points="1086,464;1086,398" d="M 1086 464 L 1086 398" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
diff --git a/docs/gallery.html b/docs/gallery.html
index 80e856b5..ccb895e9 100644
--- a/docs/gallery.html
+++ b/docs/gallery.html
@@ -622,7 +622,7 @@
<div class="receipt-cell"><span class="receipt-label">Artifact</span><span class="receipt-value ok">9/9 pass</span></div>
<div class="receipt-cell"><span class="receipt-label">Composition</span><span class="receipt-value ok" title="0 crossings · 0 border runs · 0 micro segments · 0 cramped turns">SHOWCASE · PASS</span></div>
<div class="receipt-cell"><span class="receipt-label">Graph</span><span class="receipt-value">6N · 5E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="68ad0148bddcdee5c2d5ad403fd1c3b8629b547bd7c4ad93419c68c8f871385f">68ad0148bddc</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d1f3bd878a9af715e4db96732a4f2b5b191f3cfc8bb1ba57ef6d8a09b2057bfd">d1f3bd878a9a</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/orders.erd.html#focus=order" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>
@@ -2258,8 +2258,8 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 6,
"edgeCount": 5,
- "artifactBytes": 792756,
- "artifactSha256": "68ad0148bddcdee5c2d5ad403fd1c3b8629b547bd7c4ad93419c68c8f871385f",
+ "artifactBytes": 792774,
+ "artifactSha256": "d1f3bd878a9af715e4db96732a4f2b5b191f3cfc8bb1ba57ef6d8a09b2057bfd",
"sourceBytes": 7321,
"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd",
"checks": [
@@ -2319,7 +2319,7 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>
"minLabelRouteClearance": 225,
"desktopReadabilityIssues": 0,
"viewportHeightIssues": 0,
- "minProjectedNodeTextPx": 8.773584905660378,
+ "minProjectedNodeTextPx": 8.378378378378379,
"maxBends": 2,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -2363,7 +2363,7 @@ receipt 108 checks / 12 artifacts / deterministic hashes</pre>
"id": "customer"
},
"minimumSourceTextPx": 9,
- "minimumProjectedTextPx": 8.773584905660378,
+ "minimumProjectedTextPx": 8.378378378378379,
"semanticTextCount": 92
},
"issues": []
diff --git a/docs/gallery/artifacts/orders.erd.html b/docs/gallery/artifacts/orders.erd.html
index 39366f3e..91af14e9 100644
--- a/docs/gallery/artifacts/orders.erd.html
+++ b/docs/gallery/artifacts/orders.erd.html
@@ -4972,7 +4972,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 954 488" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-erd-ui="cards" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
+ <svg viewBox="0 0 999 488" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-erd-ui="cards" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Order management schema</title>
<desc id="archify-diagram-description">An entity-relationship diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5049,15 +5049,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<text data-domain-label="" x="30" y="35" class="t-muted" font-size="9" font-weight="700">accounts</text>
</g>
<g data-domain-band="checkout">
- <rect x="332" y="22" width="603" height="202" rx="8" class="c-lane" stroke-width="1"/>
- <text data-domain-label="" x="342" y="35" class="t-muted" font-size="9" font-weight="700">checkout</text>
+ <rect x="377" y="22" width="603" height="202" rx="8" class="c-lane" stroke-width="1"/>
+ <text data-domain-label="" x="387" y="35" class="t-muted" font-size="9" font-weight="700">checkout</text>
</g>
<g data-domain-band="line items">
- <rect x="664" y="236" width="278" height="182" rx="8" class="c-lane" stroke-width="1"/>
- <text data-domain-label="" x="674" y="249" class="t-muted" font-size="9" font-weight="700">line items</text>
+ <rect x="709" y="236" width="278" height="182" rx="8" class="c-lane" stroke-width="1"/>
+ <text data-domain-label="" x="719" y="249" class="t-muted" font-size="9" font-weight="700">line items</text>
</g>
<g data-domain-band="catalog">
- <rect x="22" y="236" width="584" height="202" rx="8" class="c-lane" stroke-width="1"/>
+ <rect x="22" y="236" width="629" height="202" rx="8" class="c-lane" stroke-width="1"/>
<text data-domain-label="" x="32" y="249" class="t-muted" font-size="9" font-weight="700">catalog</text>
</g>
@@ -5065,14 +5065,14 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
to the shared side, so a cardinality glyph that reaches further out
has to stay readable over it, and the ring's mask has to be able to
punch through) -->
- <path data-er-trunk="" data-composition-points="660,140;660,320" d="M 660 140 L 660 320" class="a-default" stroke-width="1.5"/>
+ <path data-er-trunk="" data-composition-points="705,140;705,320" d="M 705 140 L 705 320" class="a-default" stroke-width="1.5"/>
<!-- Relationship paths (before entities for correct z-order) -->
- <path data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one" data-composition-points="344,128;308,128;308,98;272,98" d="M 344 128 L 316 128 Q 308 128 308 120 L 308 106 Q 308 98 300 98 L 272 98" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="payment" data-edge-to="order" data-edge-key="1" data-edge-id="payment_order" data-er-ends="many one optional" data-composition-points="683,116;604,116" d="M 683 116 L 604 116" class="a-dashed" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="order_item" data-edge-to="order" data-edge-key="2" data-edge-id="order_item_order" data-er-ends="many one" data-composition-points="676,320;660,320;660,140;604,140" d="M 676 320 L 660 320 M 660 140 L 604 140" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="order_item" data-edge-to="product" data-edge-key="3" data-edge-id="order_item_product" data-er-ends="many one" data-composition-points="676,344;594,344" d="M 676 344 L 594 344" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="inventory" data-edge-to="product" data-edge-key="4" data-edge-id="inventory_product" data-er-ends="many one" data-composition-points="270,332;354,332" d="M 270 332 L 354 332" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one" data-composition-points="389,128;330.5,128;330.5,98;272,98" d="M 389 128 L 338.5 128 Q 330.5 128 330.5 120 L 330.5 106 Q 330.5 98 322.5 98 L 272 98" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="payment" data-edge-to="order" data-edge-key="1" data-edge-id="payment_order" data-er-ends="many one optional" data-composition-points="728,116;649,116" d="M 728 116 L 649 116" class="a-dashed" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order_item" data-edge-to="order" data-edge-key="2" data-edge-id="order_item_order" data-er-ends="many one" data-composition-points="721,320;705,320;705,140;649,140" d="M 721 320 L 705 320 M 705 140 L 649 140" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order_item" data-edge-to="product" data-edge-key="3" data-edge-id="order_item_product" data-er-ends="many one" data-composition-points="721,344;639,344" d="M 721 344 L 639 344" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="inventory" data-edge-to="product" data-edge-key="4" data-edge-id="inventory_product" data-er-ends="many one" data-composition-points="270,332;399,332" d="M 270 332 L 399 332" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<!-- Entities -->
<g id="node-customer" data-node-id="customer" data-node-label="customer" tabindex="0" role="button" aria-label="Focus customer, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="accounts" data-node-context="Entity">
@@ -5114,160 +5114,160 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<g id="node-order" data-node-id="order" data-node-label="order" tabindex="0" role="button" aria-label="Focus order, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="checkout" data-node-context="Entity">
<title>order · Entity · checkout</title>
- <rect x="344" y="40" width="260" height="176" rx="5" class="c-mask"/>
- <rect x="344" y="40" width="260" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 349 40 H 599 Q 604 40 604 45 V 70 H 344 V 45 Q 344 40 349 40 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(352 47) scale(0.875)">
+ <rect x="389" y="40" width="260" height="176" rx="5" class="c-mask"/>
+ <rect x="389" y="40" width="260" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 394 40 H 644 Q 649 40 649 45 V 70 H 389 V 45 Q 389 40 394 40 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(397 47) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="474" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order</text>
- <line x1="344" y1="70" x2="604" y2="70" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="519" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order</text>
+ <line x1="389" y1="70" x2="649" y2="70" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="344" y1="70" x2="604" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="354" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="365" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="386" y="85" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="592" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="389" y1="70" x2="649" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="399" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="410" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="431" y="85" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="637" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="344" y1="90" x2="604" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="354" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="365" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="386" y="105" class="t-primary" font-size="11">customer_id</text>
- <text data-detail="context" x="592" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="389" y1="90" x2="649" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="399" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="410" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="431" y="105" class="t-primary" font-size="11">customer_id</text>
+ <text data-detail="context" x="637" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="344" y1="110" x2="604" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="110" x2="649" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="125" class="t-primary" font-size="11">status</text>
- <text data-detail="context" x="592" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
+ <text data-detail="context" x="431" y="125" class="t-primary" font-size="11">status</text>
+ <text data-detail="context" x="637" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="344" y1="130" x2="604" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="130" x2="649" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="145" class="t-primary" font-size="11">total_amount</text>
- <text data-detail="context" x="592" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="431" y="145" class="t-primary" font-size="11">total_amount</text>
+ <text data-detail="context" x="637" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="344" y1="150" x2="604" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="150" x2="649" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="165" class="t-primary" font-size="11">currency</text>
- <text data-detail="context" x="592" y="165" class="er-type" font-size="10.5" text-anchor="end">char(3)</text>
+ <text data-detail="context" x="431" y="165" class="t-primary" font-size="11">currency</text>
+ <text data-detail="context" x="637" y="165" class="er-type" font-size="10.5" text-anchor="end">char(3)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="344" y1="170" x2="604" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="170" x2="649" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="185" class="t-primary" font-size="11">placed_at</text>
- <text data-detail="context" x="592" y="185" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="431" y="185" class="t-primary" font-size="11">placed_at</text>
+ <text data-detail="context" x="637" y="185" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
<g data-detail="context" data-er-row="6">
- <line x1="344" y1="190" x2="604" y2="190" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="190" x2="649" y2="190" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="205" class="t-primary" font-size="11">updated_at</text>
- <text data-detail="context" x="592" y="205" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="431" y="205" class="t-primary" font-size="11">updated_at</text>
+ <text data-detail="context" x="637" y="205" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
</g>
<g id="node-order_item" data-node-id="order_item" data-node-label="order_item" tabindex="0" role="button" aria-label="Focus order_item, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="line items" data-node-context="Entity">
<title>order_item · Entity · line items</title>
- <rect x="676" y="254" width="254" height="156" rx="5" class="c-mask"/>
- <rect x="676" y="254" width="254" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 681 254 H 925 Q 930 254 930 259 V 284 H 676 V 259 Q 676 254 681 254 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(684 261) scale(0.875)">
+ <rect x="721" y="254" width="254" height="156" rx="5" class="c-mask"/>
+ <rect x="721" y="254" width="254" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 726 254 H 970 Q 975 254 975 259 V 284 H 721 V 259 Q 721 254 726 254 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(729 261) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="803" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order_item</text>
- <line x1="676" y1="284" x2="930" y2="284" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="848" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order_item</text>
+ <line x1="721" y1="284" x2="975" y2="284" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="676" y1="284" x2="930" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="697" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="718" y="299" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="918" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="284" x2="975" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="742" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="763" y="299" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="963" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="676" y1="304" x2="930" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="697" y="319" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="718" y="319" class="t-primary" font-size="11">order_id</text>
- <text data-detail="context" x="918" y="319" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="304" x2="975" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="742" y="319" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="763" y="319" class="t-primary" font-size="11">order_id</text>
+ <text data-detail="context" x="963" y="319" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="676" y1="324" x2="930" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="329" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="697" y="339" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="718" y="339" class="t-primary" font-size="11">product_id</text>
- <text data-detail="context" x="918" y="339" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="324" x2="975" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="329" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="742" y="339" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="763" y="339" class="t-primary" font-size="11">product_id</text>
+ <text data-detail="context" x="963" y="339" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="676" y1="344" x2="930" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="344" x2="975" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="359" class="t-primary" font-size="11">quantity</text>
- <text data-detail="context" x="918" y="359" class="er-type" font-size="10.5" text-anchor="end">int</text>
+ <text data-detail="context" x="763" y="359" class="t-primary" font-size="11">quantity</text>
+ <text data-detail="context" x="963" y="359" class="er-type" font-size="10.5" text-anchor="end">int</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="676" y1="364" x2="930" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="364" x2="975" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="379" class="t-primary" font-size="11">unit_price</text>
- <text data-detail="context" x="918" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="763" y="379" class="t-primary" font-size="11">unit_price</text>
+ <text data-detail="context" x="963" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="676" y1="384" x2="930" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="384" x2="975" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="399" class="t-primary" font-size="11">discount_amount</text>
- <text data-detail="context" x="918" y="399" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="763" y="399" class="t-primary" font-size="11">discount_amount</text>
+ <text data-detail="context" x="963" y="399" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
</g>
<g id="node-product" data-node-id="product" data-node-label="product" tabindex="0" role="button" aria-label="Focus product, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="catalog" data-node-context="Entity">
<title>product · Entity · catalog</title>
- <rect x="354" y="254" width="240" height="176" rx="5" class="c-mask"/>
- <rect x="354" y="254" width="240" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 359 254 H 589 Q 594 254 594 259 V 284 H 354 V 259 Q 354 254 359 254 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(362 261) scale(0.875)">
+ <rect x="399" y="254" width="240" height="176" rx="5" class="c-mask"/>
+ <rect x="399" y="254" width="240" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 404 254 H 634 Q 639 254 639 259 V 284 H 399 V 259 Q 399 254 404 254 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(407 261) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="474" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">product</text>
- <line x1="354" y1="284" x2="594" y2="284" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="519" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">product</text>
+ <line x1="399" y1="284" x2="639" y2="284" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="354" y1="284" x2="594" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="364" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="375" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="396" y="299" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="582" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="399" y1="284" x2="639" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="409" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="420" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="441" y="299" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="627" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="354" y1="304" x2="594" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="364" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="uk"/><text data-detail="context" x="375" y="319" class="t-muted" font-size="9" font-weight="600">UK</text>
- <text data-detail="context" x="396" y="319" class="t-primary" font-size="11">sku</text>
- <text data-detail="context" x="582" y="319" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
+ <line x1="399" y1="304" x2="639" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="409" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="uk"/><text data-detail="context" x="420" y="319" class="t-muted" font-size="9" font-weight="600">UK</text>
+ <text data-detail="context" x="441" y="319" class="t-primary" font-size="11">sku</text>
+ <text data-detail="context" x="627" y="319" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="354" y1="324" x2="594" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="324" x2="639" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="339" class="t-primary" font-size="11">name</text>
- <text data-detail="context" x="582" y="339" class="er-type" font-size="10.5" text-anchor="end">varchar(160)</text>
+ <text data-detail="context" x="441" y="339" class="t-primary" font-size="11">name</text>
+ <text data-detail="context" x="627" y="339" class="er-type" font-size="10.5" text-anchor="end">varchar(160)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="354" y1="344" x2="594" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="344" x2="639" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="359" class="t-primary" font-size="11">price</text>
- <text data-detail="context" x="582" y="359" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="441" y="359" class="t-primary" font-size="11">price</text>
+ <text data-detail="context" x="627" y="359" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="354" y1="364" x2="594" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="364" x2="639" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="379" class="t-primary" font-size="11">cost_amount</text>
- <text data-detail="context" x="582" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="441" y="379" class="t-primary" font-size="11">cost_amount</text>
+ <text data-detail="context" x="627" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="354" y1="384" x2="594" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="384" x2="639" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="399" class="t-primary" font-size="11">active</text>
- <text data-detail="context" x="582" y="399" class="er-type" font-size="10.5" text-anchor="end">boolean</text>
+ <text data-detail="context" x="441" y="399" class="t-primary" font-size="11">active</text>
+ <text data-detail="context" x="627" y="399" class="er-type" font-size="10.5" text-anchor="end">boolean</text>
</g>
<g data-detail="context" data-er-row="6">
- <line x1="354" y1="404" x2="594" y2="404" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="404" x2="639" y2="404" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="419" class="t-primary" font-size="11">created_at</text>
- <text data-detail="context" x="582" y="419" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="441" y="419" class="t-primary" font-size="11">created_at</text>
+ <text data-detail="context" x="627" y="419" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
</g>
@@ -5322,57 +5322,57 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<g id="node-payment" data-node-id="payment" data-node-label="payment" tabindex="0" role="button" aria-label="Focus payment, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="checkout" data-node-context="Entity">
<title>payment · Entity · checkout</title>
- <rect x="683" y="40" width="240" height="156" rx="5" class="c-mask"/>
- <rect x="683" y="40" width="240" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 688 40 H 918 Q 923 40 923 45 V 70 H 683 V 45 Q 683 40 688 40 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(691 47) scale(0.875)">
+ <rect x="728" y="40" width="240" height="156" rx="5" class="c-mask"/>
+ <rect x="728" y="40" width="240" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 733 40 H 963 Q 968 40 968 45 V 70 H 728 V 45 Q 728 40 733 40 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(736 47) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="803" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">payment</text>
- <line x1="683" y1="70" x2="923" y2="70" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="848" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">payment</text>
+ <line x1="728" y1="70" x2="968" y2="70" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="683" y1="70" x2="923" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="693" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="704" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="725" y="85" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="911" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="728" y1="70" x2="968" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="738" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="749" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="770" y="85" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="956" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="683" y1="90" x2="923" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="693" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="704" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="725" y="105" class="t-primary" font-size="11">order_id</text>
- <text data-detail="context" x="911" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="728" y1="90" x2="968" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="738" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="749" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="770" y="105" class="t-primary" font-size="11">order_id</text>
+ <text data-detail="context" x="956" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="683" y1="110" x2="923" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="110" x2="968" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="125" class="t-primary" font-size="11">method</text>
- <text data-detail="context" x="911" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
+ <text data-detail="context" x="770" y="125" class="t-primary" font-size="11">method</text>
+ <text data-detail="context" x="956" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="683" y1="130" x2="923" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="130" x2="968" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="145" class="t-primary" font-size="11">amount</text>
- <text data-detail="context" x="911" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="770" y="145" class="t-primary" font-size="11">amount</text>
+ <text data-detail="context" x="956" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="683" y1="150" x2="923" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="150" x2="968" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="165" class="t-primary" font-size="11">paid_at</text>
- <text data-detail="context" x="911" y="165" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="770" y="165" class="t-primary" font-size="11">paid_at</text>
+ <text data-detail="context" x="956" y="165" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="683" y1="170" x2="923" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="170" x2="968" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="185" class="t-primary" font-size="11">external_ref</text>
- <text data-detail="context" x="911" y="185" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
+ <text data-detail="context" x="770" y="185" class="t-primary" font-size="11">external_ref</text>
+ <text data-detail="context" x="956" y="185" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
</g>
</g>
<!-- Relationship labels -->
<g data-detail="context" data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one">
- <rect x="277.89" y="93" width="60.22" height="14" rx="3" class="c-mask"/>
- <text x="308" y="103" class="t-muted" font-size="9" text-anchor="middle">placed by</text>
+ <rect x="300.39" y="93" width="60.22" height="14" rx="3" class="c-mask"/>
+ <text x="330.5" y="103" class="t-muted" font-size="9" text-anchor="middle">placed by</text>
</g>
<!-- Legend -->
diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.json
index e096a67f..2ad903ce 100644
--- a/docs/gallery/manifest.json
+++ b/docs/gallery/manifest.json
@@ -1576,8 +1576,8 @@
"engineeringProfile": null,
"nodeCount": 6,
"edgeCount": 5,
- "artifactBytes": 792756,
- "artifactSha256": "68ad0148bddcdee5c2d5ad403fd1c3b8629b547bd7c4ad93419c68c8f871385f",
+ "artifactBytes": 792774,
+ "artifactSha256": "d1f3bd878a9af715e4db96732a4f2b5b191f3cfc8bb1ba57ef6d8a09b2057bfd",
"sourceBytes": 7321,
"sourceSha256": "1777a374647084466f4d7ce3a968004be6ab70ac9cf82459b96bed7c556cdfdd",
"checks": [
@@ -1637,7 +1637,7 @@
"minLabelRouteClearance": 225,
"desktopReadabilityIssues": 0,
"viewportHeightIssues": 0,
- "minProjectedNodeTextPx": 8.773584905660378,
+ "minProjectedNodeTextPx": 8.378378378378379,
"maxBends": 2,
"routesOverSuggestedBends": 0,
"maxStretch": 1,
@@ -1681,7 +1681,7 @@
"id": "customer"
},
"minimumSourceTextPx": 9,
- "minimumProjectedTextPx": 8.773584905660378,
+ "minimumProjectedTextPx": 8.378378378378379,
"semanticTextCount": 92
},
"issues": []
diff --git a/examples/erd-orders-rendered.html b/examples/erd-orders-rendered.html
index 39366f3e..91af14e9 100644
--- a/examples/erd-orders-rendered.html
+++ b/examples/erd-orders-rendered.html
@@ -4972,7 +4972,7 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Main Diagram -->
<div class="diagram-container" data-detail-level="read"
data-preset-badge-editorial-plate="ARCHIFY / PLATE 04">
- <svg viewBox="0 0 954 488" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-erd-ui="cards" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
+ <svg viewBox="0 0 999 488" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-preset="classic" data-quality-profile="showcase" data-erd-ui="cards" data-reader-fit="intrinsic-height" data-reader-min-text="7.5">
<title id="archify-diagram-title">Order management schema</title>
<desc id="archify-diagram-description">An entity-relationship diagram generated by Archify.</desc>
<!-- Definitions -->
@@ -5049,15 +5049,15 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<text data-domain-label="" x="30" y="35" class="t-muted" font-size="9" font-weight="700">accounts</text>
</g>
<g data-domain-band="checkout">
- <rect x="332" y="22" width="603" height="202" rx="8" class="c-lane" stroke-width="1"/>
- <text data-domain-label="" x="342" y="35" class="t-muted" font-size="9" font-weight="700">checkout</text>
+ <rect x="377" y="22" width="603" height="202" rx="8" class="c-lane" stroke-width="1"/>
+ <text data-domain-label="" x="387" y="35" class="t-muted" font-size="9" font-weight="700">checkout</text>
</g>
<g data-domain-band="line items">
- <rect x="664" y="236" width="278" height="182" rx="8" class="c-lane" stroke-width="1"/>
- <text data-domain-label="" x="674" y="249" class="t-muted" font-size="9" font-weight="700">line items</text>
+ <rect x="709" y="236" width="278" height="182" rx="8" class="c-lane" stroke-width="1"/>
+ <text data-domain-label="" x="719" y="249" class="t-muted" font-size="9" font-weight="700">line items</text>
</g>
<g data-domain-band="catalog">
- <rect x="22" y="236" width="584" height="202" rx="8" class="c-lane" stroke-width="1"/>
+ <rect x="22" y="236" width="629" height="202" rx="8" class="c-lane" stroke-width="1"/>
<text data-domain-label="" x="32" y="249" class="t-muted" font-size="9" font-weight="700">catalog</text>
</g>
@@ -5065,14 +5065,14 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
to the shared side, so a cardinality glyph that reaches further out
has to stay readable over it, and the ring's mask has to be able to
punch through) -->
- <path data-er-trunk="" data-composition-points="660,140;660,320" d="M 660 140 L 660 320" class="a-default" stroke-width="1.5"/>
+ <path data-er-trunk="" data-composition-points="705,140;705,320" d="M 705 140 L 705 320" class="a-default" stroke-width="1.5"/>
<!-- Relationship paths (before entities for correct z-order) -->
- <path data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one" data-composition-points="344,128;308,128;308,98;272,98" d="M 344 128 L 316 128 Q 308 128 308 120 L 308 106 Q 308 98 300 98 L 272 98" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="payment" data-edge-to="order" data-edge-key="1" data-edge-id="payment_order" data-er-ends="many one optional" data-composition-points="683,116;604,116" d="M 683 116 L 604 116" class="a-dashed" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="order_item" data-edge-to="order" data-edge-key="2" data-edge-id="order_item_order" data-er-ends="many one" data-composition-points="676,320;660,320;660,140;604,140" d="M 676 320 L 660 320 M 660 140 L 604 140" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="order_item" data-edge-to="product" data-edge-key="3" data-edge-id="order_item_product" data-er-ends="many one" data-composition-points="676,344;594,344" d="M 676 344 L 594 344" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="inventory" data-edge-to="product" data-edge-key="4" data-edge-id="inventory_product" data-er-ends="many one" data-composition-points="270,332;354,332" d="M 270 332 L 354 332" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one" data-composition-points="389,128;330.5,128;330.5,98;272,98" d="M 389 128 L 338.5 128 Q 330.5 128 330.5 120 L 330.5 106 Q 330.5 98 322.5 98 L 272 98" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="payment" data-edge-to="order" data-edge-key="1" data-edge-id="payment_order" data-er-ends="many one optional" data-composition-points="728,116;649,116" d="M 728 116 L 649 116" class="a-dashed" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order_item" data-edge-to="order" data-edge-key="2" data-edge-id="order_item_order" data-er-ends="many one" data-composition-points="721,320;705,320;705,140;649,140" d="M 721 320 L 705 320 M 705 140 L 649 140" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="order_item" data-edge-to="product" data-edge-key="3" data-edge-id="order_item_product" data-er-ends="many one" data-composition-points="721,344;639,344" d="M 721 344 L 639 344" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="inventory" data-edge-to="product" data-edge-key="4" data-edge-id="inventory_product" data-er-ends="many one" data-composition-points="270,332;399,332" d="M 270 332 L 399 332" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<!-- Entities -->
<g id="node-customer" data-node-id="customer" data-node-label="customer" tabindex="0" role="button" aria-label="Focus customer, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="accounts" data-node-context="Entity">
@@ -5114,160 +5114,160 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<g id="node-order" data-node-id="order" data-node-label="order" tabindex="0" role="button" aria-label="Focus order, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="checkout" data-node-context="Entity">
<title>order · Entity · checkout</title>
- <rect x="344" y="40" width="260" height="176" rx="5" class="c-mask"/>
- <rect x="344" y="40" width="260" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 349 40 H 599 Q 604 40 604 45 V 70 H 344 V 45 Q 344 40 349 40 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(352 47) scale(0.875)">
+ <rect x="389" y="40" width="260" height="176" rx="5" class="c-mask"/>
+ <rect x="389" y="40" width="260" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 394 40 H 644 Q 649 40 649 45 V 70 H 389 V 45 Q 389 40 394 40 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(397 47) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="474" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order</text>
- <line x1="344" y1="70" x2="604" y2="70" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="519" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order</text>
+ <line x1="389" y1="70" x2="649" y2="70" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="344" y1="70" x2="604" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="354" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="365" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="386" y="85" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="592" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="389" y1="70" x2="649" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="399" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="410" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="431" y="85" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="637" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="344" y1="90" x2="604" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="354" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="365" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="386" y="105" class="t-primary" font-size="11">customer_id</text>
- <text data-detail="context" x="592" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="389" y1="90" x2="649" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="399" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="410" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="431" y="105" class="t-primary" font-size="11">customer_id</text>
+ <text data-detail="context" x="637" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="344" y1="110" x2="604" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="110" x2="649" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="125" class="t-primary" font-size="11">status</text>
- <text data-detail="context" x="592" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
+ <text data-detail="context" x="431" y="125" class="t-primary" font-size="11">status</text>
+ <text data-detail="context" x="637" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="344" y1="130" x2="604" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="130" x2="649" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="145" class="t-primary" font-size="11">total_amount</text>
- <text data-detail="context" x="592" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="431" y="145" class="t-primary" font-size="11">total_amount</text>
+ <text data-detail="context" x="637" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="344" y1="150" x2="604" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="150" x2="649" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="165" class="t-primary" font-size="11">currency</text>
- <text data-detail="context" x="592" y="165" class="er-type" font-size="10.5" text-anchor="end">char(3)</text>
+ <text data-detail="context" x="431" y="165" class="t-primary" font-size="11">currency</text>
+ <text data-detail="context" x="637" y="165" class="er-type" font-size="10.5" text-anchor="end">char(3)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="344" y1="170" x2="604" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="170" x2="649" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="185" class="t-primary" font-size="11">placed_at</text>
- <text data-detail="context" x="592" y="185" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="431" y="185" class="t-primary" font-size="11">placed_at</text>
+ <text data-detail="context" x="637" y="185" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
<g data-detail="context" data-er-row="6">
- <line x1="344" y1="190" x2="604" y2="190" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="389" y1="190" x2="649" y2="190" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="386" y="205" class="t-primary" font-size="11">updated_at</text>
- <text data-detail="context" x="592" y="205" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="431" y="205" class="t-primary" font-size="11">updated_at</text>
+ <text data-detail="context" x="637" y="205" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
</g>
<g id="node-order_item" data-node-id="order_item" data-node-label="order_item" tabindex="0" role="button" aria-label="Focus order_item, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="line items" data-node-context="Entity">
<title>order_item · Entity · line items</title>
- <rect x="676" y="254" width="254" height="156" rx="5" class="c-mask"/>
- <rect x="676" y="254" width="254" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 681 254 H 925 Q 930 254 930 259 V 284 H 676 V 259 Q 676 254 681 254 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(684 261) scale(0.875)">
+ <rect x="721" y="254" width="254" height="156" rx="5" class="c-mask"/>
+ <rect x="721" y="254" width="254" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 726 254 H 970 Q 975 254 975 259 V 284 H 721 V 259 Q 721 254 726 254 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(729 261) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="803" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order_item</text>
- <line x1="676" y1="284" x2="930" y2="284" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="848" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">order_item</text>
+ <line x1="721" y1="284" x2="975" y2="284" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="676" y1="284" x2="930" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="697" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="718" y="299" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="918" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="284" x2="975" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="742" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="763" y="299" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="963" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="676" y1="304" x2="930" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="697" y="319" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="718" y="319" class="t-primary" font-size="11">order_id</text>
- <text data-detail="context" x="918" y="319" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="304" x2="975" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="742" y="319" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="763" y="319" class="t-primary" font-size="11">order_id</text>
+ <text data-detail="context" x="963" y="319" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="676" y1="324" x2="930" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="686" y="329" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="697" y="339" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="718" y="339" class="t-primary" font-size="11">product_id</text>
- <text data-detail="context" x="918" y="339" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="721" y1="324" x2="975" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="731" y="329" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="742" y="339" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="763" y="339" class="t-primary" font-size="11">product_id</text>
+ <text data-detail="context" x="963" y="339" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="676" y1="344" x2="930" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="344" x2="975" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="359" class="t-primary" font-size="11">quantity</text>
- <text data-detail="context" x="918" y="359" class="er-type" font-size="10.5" text-anchor="end">int</text>
+ <text data-detail="context" x="763" y="359" class="t-primary" font-size="11">quantity</text>
+ <text data-detail="context" x="963" y="359" class="er-type" font-size="10.5" text-anchor="end">int</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="676" y1="364" x2="930" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="364" x2="975" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="379" class="t-primary" font-size="11">unit_price</text>
- <text data-detail="context" x="918" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="763" y="379" class="t-primary" font-size="11">unit_price</text>
+ <text data-detail="context" x="963" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="676" y1="384" x2="930" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="721" y1="384" x2="975" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="718" y="399" class="t-primary" font-size="11">discount_amount</text>
- <text data-detail="context" x="918" y="399" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="763" y="399" class="t-primary" font-size="11">discount_amount</text>
+ <text data-detail="context" x="963" y="399" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
</g>
<g id="node-product" data-node-id="product" data-node-label="product" tabindex="0" role="button" aria-label="Focus product, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="catalog" data-node-context="Entity">
<title>product · Entity · catalog</title>
- <rect x="354" y="254" width="240" height="176" rx="5" class="c-mask"/>
- <rect x="354" y="254" width="240" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 359 254 H 589 Q 594 254 594 259 V 284 H 354 V 259 Q 354 254 359 254 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(362 261) scale(0.875)">
+ <rect x="399" y="254" width="240" height="176" rx="5" class="c-mask"/>
+ <rect x="399" y="254" width="240" height="176" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 404 254 H 634 Q 639 254 639 259 V 284 H 399 V 259 Q 399 254 404 254 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(407 261) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="474" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">product</text>
- <line x1="354" y1="284" x2="594" y2="284" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="519" y="273" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">product</text>
+ <line x1="399" y1="284" x2="639" y2="284" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="354" y1="284" x2="594" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="364" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="375" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="396" y="299" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="582" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="399" y1="284" x2="639" y2="284" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="409" y="289" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="420" y="299" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="441" y="299" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="627" y="299" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="354" y1="304" x2="594" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="364" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="uk"/><text data-detail="context" x="375" y="319" class="t-muted" font-size="9" font-weight="600">UK</text>
- <text data-detail="context" x="396" y="319" class="t-primary" font-size="11">sku</text>
- <text data-detail="context" x="582" y="319" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
+ <line x1="399" y1="304" x2="639" y2="304" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="409" y="309" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="uk"/><text data-detail="context" x="420" y="319" class="t-muted" font-size="9" font-weight="600">UK</text>
+ <text data-detail="context" x="441" y="319" class="t-primary" font-size="11">sku</text>
+ <text data-detail="context" x="627" y="319" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="354" y1="324" x2="594" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="324" x2="639" y2="324" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="339" class="t-primary" font-size="11">name</text>
- <text data-detail="context" x="582" y="339" class="er-type" font-size="10.5" text-anchor="end">varchar(160)</text>
+ <text data-detail="context" x="441" y="339" class="t-primary" font-size="11">name</text>
+ <text data-detail="context" x="627" y="339" class="er-type" font-size="10.5" text-anchor="end">varchar(160)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="354" y1="344" x2="594" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="344" x2="639" y2="344" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="359" class="t-primary" font-size="11">price</text>
- <text data-detail="context" x="582" y="359" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="441" y="359" class="t-primary" font-size="11">price</text>
+ <text data-detail="context" x="627" y="359" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="354" y1="364" x2="594" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="364" x2="639" y2="364" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="379" class="t-primary" font-size="11">cost_amount</text>
- <text data-detail="context" x="582" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="441" y="379" class="t-primary" font-size="11">cost_amount</text>
+ <text data-detail="context" x="627" y="379" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="354" y1="384" x2="594" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="384" x2="639" y2="384" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="399" class="t-primary" font-size="11">active</text>
- <text data-detail="context" x="582" y="399" class="er-type" font-size="10.5" text-anchor="end">boolean</text>
+ <text data-detail="context" x="441" y="399" class="t-primary" font-size="11">active</text>
+ <text data-detail="context" x="627" y="399" class="er-type" font-size="10.5" text-anchor="end">boolean</text>
</g>
<g data-detail="context" data-er-row="6">
- <line x1="354" y1="404" x2="594" y2="404" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="399" y1="404" x2="639" y2="404" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="396" y="419" class="t-primary" font-size="11">created_at</text>
- <text data-detail="context" x="582" y="419" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="441" y="419" class="t-primary" font-size="11">created_at</text>
+ <text data-detail="context" x="627" y="419" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
</g>
@@ -5322,57 +5322,57 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<g id="node-payment" data-node-id="payment" data-node-label="payment" tabindex="0" role="button" aria-label="Focus payment, Entity" aria-pressed="false" data-node-kind="database" data-node-tag="checkout" data-node-context="Entity">
<title>payment · Entity · checkout</title>
- <rect x="683" y="40" width="240" height="156" rx="5" class="c-mask"/>
- <rect x="683" y="40" width="240" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
- <path class="er-table-header" d="M 688 40 H 918 Q 923 40 923 45 V 70 H 683 V 45 Q 683 40 688 40 Z"/>
- <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(691 47) scale(0.875)">
+ <rect x="728" y="40" width="240" height="156" rx="5" class="c-mask"/>
+ <rect x="728" y="40" width="240" height="156" rx="5" class="c-database er-table" stroke-width="1.5"/>
+ <path class="er-table-header" d="M 733 40 H 963 Q 968 40 968 45 V 70 H 728 V 45 Q 728 40 733 40 Z"/>
+ <g aria-hidden="true" data-semantic-sigil="database" class="semantic-sigil s-database" transform="translate(736 47) scale(0.875)">
<ellipse cx="8" cy="4" rx="5" ry="2"/>
<path d="M3 4v8c0 1.1 2.2 2 5 2s5-.9 5-2V4M3 8c0 1.1 2.2 2 5 2s5-.9 5-2"/>
</g>
- <text data-node-label="" x="803" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">payment</text>
- <line x1="683" y1="70" x2="923" y2="70" class="c-grid" stroke-width="1"/>
+ <text data-node-label="" x="848" y="59" class="t-primary" font-size="13" font-weight="700" text-anchor="middle">payment</text>
+ <line x1="728" y1="70" x2="968" y2="70" class="c-grid" stroke-width="1"/>
<g data-detail="context" data-er-row="0">
- <line x1="683" y1="70" x2="923" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="693" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="704" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
- <text data-detail="context" x="725" y="85" class="t-primary" font-size="11">id</text>
- <text data-detail="context" x="911" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="728" y1="70" x2="968" y2="70" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="738" y="75" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="pk"/><text data-detail="context" x="749" y="85" class="t-database" font-size="9" font-weight="600">PK</text>
+ <text data-detail="context" x="770" y="85" class="t-primary" font-size="11">id</text>
+ <text data-detail="context" x="956" y="85" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="1">
- <line x1="683" y1="90" x2="923" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
- <rect x="693" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="704" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
- <text data-detail="context" x="725" y="105" class="t-primary" font-size="11">order_id</text>
- <text data-detail="context" x="911" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
+ <line x1="728" y1="90" x2="968" y2="90" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <rect x="738" y="95" width="22" height="13" rx="3" class="er-key-badge" data-er-badge="fk"/><text data-detail="context" x="749" y="105" class="t-messagebus" font-size="9" font-weight="600">FK</text>
+ <text data-detail="context" x="770" y="105" class="t-primary" font-size="11">order_id</text>
+ <text data-detail="context" x="956" y="105" class="er-type" font-size="10.5" text-anchor="end">bigint</text>
</g>
<g data-detail="context" data-er-row="2">
- <line x1="683" y1="110" x2="923" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="110" x2="968" y2="110" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="125" class="t-primary" font-size="11">method</text>
- <text data-detail="context" x="911" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
+ <text data-detail="context" x="770" y="125" class="t-primary" font-size="11">method</text>
+ <text data-detail="context" x="956" y="125" class="er-type" font-size="10.5" text-anchor="end">varchar(32)</text>
</g>
<g data-detail="context" data-er-row="3">
- <line x1="683" y1="130" x2="923" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="130" x2="968" y2="130" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="145" class="t-primary" font-size="11">amount</text>
- <text data-detail="context" x="911" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
+ <text data-detail="context" x="770" y="145" class="t-primary" font-size="11">amount</text>
+ <text data-detail="context" x="956" y="145" class="er-type" font-size="10.5" text-anchor="end">numeric(12,2)</text>
</g>
<g data-detail="context" data-er-row="4">
- <line x1="683" y1="150" x2="923" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="150" x2="968" y2="150" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="165" class="t-primary" font-size="11">paid_at</text>
- <text data-detail="context" x="911" y="165" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
+ <text data-detail="context" x="770" y="165" class="t-primary" font-size="11">paid_at</text>
+ <text data-detail="context" x="956" y="165" class="er-type" font-size="10.5" text-anchor="end">timestamptz</text>
</g>
<g data-detail="context" data-er-row="5">
- <line x1="683" y1="170" x2="923" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
+ <line x1="728" y1="170" x2="968" y2="170" class="c-grid er-row-rule" stroke-width="0.5"/>
- <text data-detail="context" x="725" y="185" class="t-primary" font-size="11">external_ref</text>
- <text data-detail="context" x="911" y="185" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
+ <text data-detail="context" x="770" y="185" class="t-primary" font-size="11">external_ref</text>
+ <text data-detail="context" x="956" y="185" class="er-type" font-size="10.5" text-anchor="end">varchar(64)</text>
</g>
</g>
<!-- Relationship labels -->
<g data-detail="context" data-edge-from="order" data-edge-to="customer" data-edge-label="placed by" data-edge-key="0" data-edge-id="order_customer" data-er-ends="many one">
- <rect x="277.89" y="93" width="60.22" height="14" rx="3" class="c-mask"/>
- <text x="308" y="103" class="t-muted" font-size="9" text-anchor="middle">placed by</text>
+ <rect x="300.39" y="93" width="60.22" height="14" rx="3" class="c-mask"/>
+ <text x="330.5" y="103" class="t-muted" font-size="9" text-anchor="middle">placed by</text>
</g>
<!-- Legend -->
diff --git a/examples/subscription-billing-rendered.html b/examples/subscription-billing-rendered.html
index 617974c8..74c70ca6 100644
--- a/examples/subscription-billing-rendered.html
+++ b/examples/subscription-billing-rendered.html
@@ -5068,14 +5068,14 @@ OTHER DEALINGS IN THE FONT SOFTWARE.
<!-- Relationship paths (before entities for correct z-order) -->
- <path data-edge-from="membership" data-edge-to="tenant" data-edge-key="0" data-edge-id="membership_tenant" data-er-ends="many one" data-composition-points="145,464;145,401;29,401;29,200;157,200;157,176" d="M 145 464 L 145 409 Q 145 401 137 401 L 37 401 Q 29 401 29 393 L 29 208 Q 29 200 37 200 L 149 200 Q 157 200 157 192 L 157 176" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="membership" data-edge-to="tenant" data-edge-key="0" data-edge-id="membership_tenant" data-er-ends="many one" data-composition-points="282,532;306,532;306,108;277,108" d="M 282 532 L 298 532 Q 306 532 306 524 L 306 116 Q 306 108 298 108 L 277 108" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="membership" data-edge-to="user_account" data-edge-key="1" data-edge-id="membership_user" data-er-ends="many one" data-composition-points="169,464;169,398" d="M 169 464 L 169 398" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="price" data-edge-to="plan" data-edge-key="2" data-edge-id="price_plan" data-er-ends="many one" data-composition-points="782,242;782,176" d="M 782 242 L 782 176" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="subscription" data-edge-to="tenant" data-edge-key="3" data-edge-id="subscription_tenant" data-er-ends="many one" data-composition-points="352,120;277,120" d="M 352 120 L 277 120" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="subscription" data-edge-to="price" data-edge-key="4" data-edge-id="subscription_price" data-er-ends="many one" data-composition-points="592,128;627,128;627,310;662,310" d="M 592 128 L 619 128 Q 627 128 627 136 L 627 302 Q 627 310 635 310 L 662 310" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="invoice" data-edge-to="subscription" data-edge-key="5" data-edge-id="invoice_subscription" data-er-ends="many one" data-composition-points="472,242;472,216" d="M 472 242 L 472 216" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="invoice_line" data-edge-to="invoice" data-edge-key="6" data-edge-id="invoice_line_invoice" data-er-ends="many one" data-composition-points="472,464;472,438" d="M 472 464 L 472 438" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
- <path data-edge-from="payment_method" data-edge-to="tenant" data-edge-key="7" data-edge-id="payment_method_tenant" data-er-ends="many one" data-composition-points="966,118;905,118;905,37;301,37;301,96;277,96" d="M 966 118 L 913 118 Q 905 118 905 110 L 905 45 Q 905 37 897 37 L 309 37 Q 301 37 301 45 L 301 88 Q 301 96 293 96 L 277 96" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
+ <path data-edge-from="payment_method" data-edge-to="tenant" data-edge-key="7" data-edge-id="payment_method_tenant" data-er-ends="many one" data-composition-points="966,118;942,118;942,37;301,37;301,96;277,96" d="M 966 118 L 950 118 Q 942 118 942 110 L 942 45 Q 942 37 934 37 L 309 37 Q 301 37 301 45 L 301 88 Q 301 96 293 96 L 277 96" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="payment" data-edge-to="invoice" data-edge-key="8" data-edge-id="payment_invoice" data-er-ends="many one optional" data-composition-points="966,320;905,320;905,381;622,381;622,340;598,340" d="M 966 320 L 913 320 Q 905 320 905 328 L 905 373 Q 905 381 897 381 L 630 381 Q 622 381 622 373 L 622 348 Q 622 340 614 340 L 598 340" class="a-default" stroke-width="1.5" marker-start="url(#er-many-optional-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="payment" data-edge-to="payment_method" data-edge-key="9" data-edge-id="payment_method_of_payment" data-er-ends="many one" data-composition-points="1086,242;1086,196" d="M 1086 242 L 1086 196" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>
<path data-edge-from="refund" data-edge-to="payment" data-edge-key="10" data-edge-id="refund_payment" data-er-ends="many one" data-composition-points="1086,464;1086,398" d="M 1086 464 L 1086 398" class="a-default" stroke-width="1.5" marker-start="url(#er-many-start)" marker-end="url(#er-one-end)"/>