Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
fix(sequence): place the legend below late content and rebuild the README proof
tt-a1i7abfa28f8605
diff --git a/archify.zip b/archify.zipindex 96e4a623..e5abe607 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/examples/cache-miss-request.sequence.json b/archify/examples/cache-miss-request.sequence.jsonindex 89cd286f..4ef2fab5 100644--- a/archify/examples/cache-miss-request.sequence.json+++ b/archify/examples/cache-miss-request.sequence.json@@ -4,7 +4,7 @@"meta": {"title": "Cache Miss Request Sequence","output": "examples/sequence-cache-miss-request.html",- "viewBox": [1080, 560],+ "viewBox": [1080, 580],"column_fit": "spread","animation": "trace","quality_profile": "showcase"diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.htmlindex bc6732ba..5784889a 100644--- a/archify/examples/sequence-cache-miss-request.html+++ b/archify/examples/sequence-cache-miss-request.html@@ -4982,7 +4982,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 1080 560" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">+ <svg viewBox="0 0 1080 580" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase"><title id="archify-diagram-title">Cache Miss Request Sequence</title><desc id="archify-diagram-description">A sequence diagram generated by Archify.</desc><!-- Definitions -->@@ -5015,13 +5015,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="380" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/><!-- Lifelines -->- <path d="M 118.5 142 L 118.5 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 262.66666666666663 142 L 262.66666666666663 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 406.8333333333333 142 L 406.8333333333333 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 551 142 L 551 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 695.1666666666666 142 L 695.1666666666666 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 839.3333333333333 142 L 839.3333333333333 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 983.5 142 L 983.5 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 118.5 142 L 118.5 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 262.66666666666663 142 L 262.66666666666663 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 406.8333333333333 142 L 406.8333333333333 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 551 142 L 551 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 695.1666666666666 142 L 695.1666666666666 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 839.3333333333333 142 L 839.3333333333333 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 983.5 142 L 983.5 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/><!-- Activations --><rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-mask"/>@@ -5238,26 +5238,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Legend --><g data-legend="">- <text x="40" y="486" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="506" data-legend-width="103">- <path d="M 40 503 L 74 503" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>- <text x="83" y="506" class="t-muted" font-size="10" font-weight="500">main request</text>+ <text x="40" y="506" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="526" data-legend-width="103">+ <path d="M 40 523 L 74 523" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <text x="83" y="526" class="t-muted" font-size="10" font-weight="500">main request</text></g>- <g data-legend-semantic-kind="return" data-legend-x="165" data-legend-baseline="506" data-legend-width="73">- <path d="M 165 503 L 199 503" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>- <text x="208" y="506" class="t-muted" font-size="10" font-weight="500">return</text>+ <g data-legend-semantic-kind="return" data-legend-x="165" data-legend-baseline="526" data-legend-width="73">+ <path d="M 165 523 L 199 523" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>+ <text x="208" y="526" class="t-muted" font-size="10" font-weight="500">return</text></g>- <g data-legend-semantic-kind="security" data-legend-x="260" data-legend-baseline="506" data-legend-width="83">- <path d="M 260 503 L 294 503" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>- <text x="303" y="506" class="t-muted" font-size="10" font-weight="500">security</text>+ <g data-legend-semantic-kind="security" data-legend-x="260" data-legend-baseline="526" data-legend-width="83">+ <path d="M 260 523 L 294 523" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>+ <text x="303" y="526" class="t-muted" font-size="10" font-weight="500">security</text></g>- <g data-legend-semantic-kind="dashed" data-legend-x="365" data-legend-baseline="506" data-legend-width="98">- <path d="M 365 503 L 399 503" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>- <text x="408" y="506" class="t-muted" font-size="10" font-weight="500">async trace</text>+ <g data-legend-semantic-kind="dashed" data-legend-x="365" data-legend-baseline="526" data-legend-width="98">+ <path d="M 365 523 L 399 523" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>+ <text x="408" y="526" class="t-muted" font-size="10" font-weight="500">async trace</text></g>- <g data-legend-semantic-kind="default" data-legend-x="485" data-legend-baseline="506" data-legend-width="78">- <path d="M 485 503 L 519 503" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>- <text x="528" y="506" class="t-muted" font-size="10" font-weight="500">message</text>+ <g data-legend-semantic-kind="default" data-legend-x="485" data-legend-baseline="526" data-legend-width="78">+ <path d="M 485 523 L 519 523" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>+ <text x="528" y="526" class="t-muted" font-size="10" font-weight="500">message</text></g></g></svg>diff --git a/archify/renderers/sequence/README.md b/archify/renderers/sequence/README.mdindex 288db71e..9aca2196 100644--- a/archify/renderers/sequence/README.md+++ b/archify/renderers/sequence/README.md@@ -53,15 +53,23 @@ order, are `emphasis`, `return`, `security`, `dashed`, and `default`. These arevisual message keys, not Semantic Lens controls; label/visibility overrides donot create edge facts.+The legend sits below all timeline content: the last message and its note,+activation bars, and segment frames, with a 12px gap. Without `meta.viewBox`+the canvas grows to keep that gap. With an authored `viewBox` that is too short,+`showcase` fails with the exact height to set, and `standard` hides the implicit+legend rather than drawing it over content. Lifelines stop above the legend.+Message labels use their line's color; gray default and return lines keep the+muted text color.+## Layout budget| Constant | Value ||----------|-------|-| viewBox | default `[920, 760]`; schema minimum `[480, 480]` |+| viewBox | default `[920, 760]`, taller when late content needs legend room; schema minimum `[480, 480]` || Participant boxes | `fixed` (default): 86×54 at y 72; `spread`: viewBox-relative width from 86px up to 190px || Participant columns | `fixed`: centers at x = 62 + index×108; `spread`: columns distribute across the available viewBox width || Participant count | the last box must end at or before width − 40; layouts that cannot fit fail closed |-| Lifelines | from y 142 down to height − 65; band must be ≥120px tall |+| Lifelines | from y 142 down to height − 65 (drawn to just above the legend); band must be ≥120px tall || Message `y` range | `[160, height − 83]` || Message spacing | ≥28px vertical between messages that share horizontal space || Arrow span | ≥60px horizontal between the two participants |diff --git a/archify/renderers/sequence/render-sequence.mjs b/archify/renderers/sequence/render-sequence.mjsindex 96ad96a4..3e25db99 100644--- a/archify/renderers/sequence/render-sequence.mjs+++ b/archify/renderers/sequence/render-sequence.mjs@@ -3,7 +3,7 @@ import { fileURLToPath } from 'node:url';import { esc, renderDefinitions, renderSemanticSigil, textUnits } from '../shared/utils.mjs';import { animateAttr, focusEdgeAttrs, focusNodeAttrs, focusNodeTitle, loadDiagramWithBrandMarks, writeDiagram, svgAccessibleText, svgRootAttrs } from '../shared/cli.mjs';import { throwDiagnosticProblems } from '../shared/diagnostics.mjs';-import { measureLegend, resolveLegend, renderLegend as renderResolvedLegend } from '../shared/legend.mjs';+import { legendFootprint, measureLegend, resolveLegend, renderLegend as renderResolvedLegend } from '../shared/legend.mjs';import { componentFill, arrowClassMap, rectsOverlap, cleanFlowProblems, cleanCrossingProblems, cleanAmbiguousCorridorProblems, cleanBorderRunProblems, cleanRouteRhythmProblems, cleanLabelRouteClearanceProblems, cleanLabelCanvasContainmentProblems, routePointsValue, asArray, isFinitePoint, edgeLabelAccent } from '../shared/geometry.mjs';import { availableNodeTextWidth, fittedNodeFontSize, minimumNodeTextWidth } from '../shared/text-fit.mjs';import { brandLabelFitWidth, brandMetadataFor, brandTopRailProblem, renderBrandMark } from '../shared/brand-marks.mjs';@@ -21,7 +21,46 @@ const { diagram: sequence, template, outPath, sourceEvidence } = await loadDiagrdefaultExample: 'cache-miss-request.sequence.json'});-const viewBox = sequence.meta?.viewBox || [920, 760];+const LEGEND_CATALOG = [+ { kind: 'emphasis', className: 'a-emphasis', marker: 'arrowhead-emphasis', strokeWidth: 1.8 },+ { kind: 'return', className: 'a-default', marker: 'arrowhead', dash: '3,5' },+ { kind: 'security', className: 'a-security', marker: 'arrowhead-security' },+ { kind: 'dashed', className: 'a-dashed', marker: 'arrowhead-dashed' },+ { kind: 'default', className: 'a-default', marker: 'arrowhead' },+].map((entry) => ({+ ...entry,+ interactive: false,+ swatchWidth: 34,+ swatchGap: 9,+ label: i18nText(sequence.meta.locale, `legend.sequence.${entry.kind}`),+}));++function legendEntries() {+ const presentKinds = new Set(asArray(sequence.messages).map((message) => message.variant || 'default'));+ return resolveLegend(sequence.meta?.legend, LEGEND_CATALOG, presentKinds);+}++// The legend sits below the timeline content: the last message and its note,+// activation bars, and segment frames. Its block starts LEGEND_CONTENT_GAP+// below that content; from the block top to the canvas bottom a one-row legend+// needs LEGEND_BLOCK_HEIGHT (title glyphs, row, and the 54px baseline inset).+const LEGEND_CONTENT_GAP = 12;+const LEGEND_BLOCK_HEIGHT = 86;+const contentBottom = Math.max(+ 0,+ ...asArray(sequence.messages).map((message) => message.y + (message.note ? 22 : 6)),+ ...asArray(sequence.activations).map((activation) => activation.to),+ ...asArray(sequence.segments).map((segment) => segment.to),+);+function legendRequiredHeight(width) {+ const entries = legendEntries();+ if (!entries.length) return 0;+ return Math.ceil(contentBottom + LEGEND_CONTENT_GAP + LEGEND_BLOCK_HEIGHT+ + legendFootprint(entries, { width: width - 80 }).extraHeight);+}+// A renderer-sized canvas grows to keep the legend clear of late messages;+// an authored viewBox is honored and validated below.+const viewBox = sequence.meta?.viewBox || [920, Math.max(760, legendRequiredHeight(920))];// The timeline scales with viewBox height: a taller viewBox gains message room,// a shorter one shrinks the readable band (validated below) instead of clipping.// `column_fit: "spread"` widens the lanes with the viewBox instead of keeping@@ -318,6 +357,14 @@ function validateSequence() {problems.push(`Participants exceed viewBox width — set meta.viewBox[0] to at least ${requiredWidth} or remove a participant.`);}+ // Showcase must not silently drop the implicit legend because late content+ // leaves no room for it; give the exact canvas height instead.+ const legendHeight = legendRequiredHeight(viewBox[0]);+ if (sequence.meta?.quality_profile === 'showcase' && sequence.meta?.legend === undefined+ && legendHeight > viewBox[1] && !measureLegend(legendEntries(), legendLayout())) {+ problems.push(`Sequence content ends at y=${contentBottom}, leaving no room for the legend below it — set meta.viewBox[1] to at least ${legendHeight} or omit meta.viewBox so the canvas grows.`);+ }+if (problems.length) {throwDiagnosticProblems('Sequence layout validation failed', problems, {subject: { diagramType: 'sequence' },@@ -348,18 +395,11 @@ function renderParticipant(participant) {</g>`;}-// Lifelines are drawn only to the timeline's content, and never into the-// legend band below it. The authored timeline bounds used by validation stay-// unchanged; only the drawn guide is shortened.+// Lifelines never enter the legend band. The legend is placed below all+// timeline content, so stopping above its title still reaches every message.function lifelineEnd() {- const contentBottom = Math.max(- layout.lifelineTop,- ...asArray(sequence.messages).map((message) => message.y + (message.note ? 22 : 6)),- ...asArray(sequence.activations).map((activation) => activation.to),- );const legend = measureLegend(legendEntries(), legendLayout());- const legendTop = legend?.titleY == null ? Infinity : legend.titleY - 22;- return Math.max(Math.min(layout.lifelineBottom, legendTop), contentBottom);+ return legend?.titleY == null ? layout.lifelineBottom : Math.min(layout.lifelineBottom, legend.titleY - 22);}function renderLifeline(participant, end) {@@ -415,31 +455,13 @@ ${messageLabel(message, start, end)}${note}</g>`;}-const LEGEND_CATALOG = [- { kind: 'emphasis', className: 'a-emphasis', marker: 'arrowhead-emphasis', strokeWidth: 1.8 },- { kind: 'return', className: 'a-default', marker: 'arrowhead', dash: '3,5' },- { kind: 'security', className: 'a-security', marker: 'arrowhead-security' },- { kind: 'dashed', className: 'a-dashed', marker: 'arrowhead-dashed' },- { kind: 'default', className: 'a-default', marker: 'arrowhead' },-].map((entry) => ({- ...entry,- interactive: false,- swatchWidth: 34,- swatchGap: 9,- label: i18nText(sequence.meta.locale, `legend.sequence.${entry.kind}`),-}));--function legendEntries() {- const presentKinds = new Set(asArray(sequence.messages).map((message) => message.variant || 'default'));- return resolveLegend(sequence.meta?.legend, LEGEND_CATALOG, presentKinds);-}function legendLayout() {return {x: 40,baselineY: layout.legendY,width: viewBox[0] - 80,- minTitleY: layout.legendY - 30,+ minTitleY: Math.max(layout.legendY - 30, contentBottom + LEGEND_CONTENT_GAP),unfit: sequence.meta?.legend === undefined ? 'hide' : 'error',diagramType: 'sequence',};diff --git a/archify/test/edge-label-color.test.mjs b/archify/test/edge-label-color.test.mjsindex 57923ec1..31763e41 100644--- a/archify/test/edge-label-color.test.mjs+++ b/archify/test/edge-label-color.test.mjs@@ -126,6 +126,50 @@ test('sequence message labels match their line color and lifelines stop above thfor (const end of lifelineEnds) assert.ok(end <= legendTitle - 12, `lifeline ends at ${end}, legend title at ${legendTitle}`);});+test('sequence legend stays below a late message with a note', () => {+ const doc = (viewBox) => ({+ schema_version: 1, diagram_type: 'sequence',+ meta: { title: 'Late message', output: 'late.html', quality_profile: 'showcase', ...(viewBox ? { viewBox } : {}) },+ participants: [{ id: 'a', type: 'frontend', label: 'Client' }, { id: 'b', type: 'backend', label: 'Server' }],+ messages: [+ { from: 'a', to: 'b', y: 180, label: 'open' },+ { id: 'late', from: 'a', to: 'b', y: viewBox ? 477 : 690, label: 'request', note: 'completed', variant: 'emphasis' },+ ],+ });+ const run = (name, source, command) => {+ const input = path.join(tmp, `${name}.json`);+ const output = path.join(tmp, `${name}.html`);+ fs.writeFileSync(input, JSON.stringify(source));+ const result = spawnSync(process.execPath, [cli, command, 'sequence', input, ...(command === 'render' ? [output] : ['--json'])], { cwd: skillRoot, encoding: 'utf8' });+ return { result, output };+ };++ // An authored canvas that cannot hold content and legend fails with the+ // exact repair instead of drawing the legend over the late note.+ const authored = run('sequence-late-authored', doc([1080, 560]), 'validate');+ assert.notEqual(authored.result.status, 0);+ assert.match(authored.result.stdout, /set meta\.viewBox\[1\] to at least 597/);+ const repaired = run('sequence-late-repaired', doc([1080, 597]), 'render');+ assert.equal(repaired.result.status, 0, repaired.result.stderr);++ // A renderer-sized canvas grows so the legend clears the late note, and the+ // lifelines still reach the last message.+ const automatic = run('sequence-late-automatic', doc(null), 'render');+ assert.equal(automatic.result.status, 0, automatic.result.stderr);+ for (const output of [repaired.output, automatic.output]) {+ const html = fs.readFileSync(output, 'utf8');+ const legendTitle = Number(html.match(/<text x="[\d.]+" y="([\d.]+)"[^>]*>Legend<\/text>/)[1]);+ const lateY = Number(html.match(/data-edge-id="late"[\s\S]*?d="M [\d.]+ ([\d.]+) L/)[1]);+ const noteY = Number(html.match(/<text data-detail="fine"[^>]*>completed<\/text>/)[0].match(/ y="([\d.]+)"/)[1]);+ assert.ok(noteY + 2 < legendTitle - 12, `note at ${noteY} must stay above the legend title at ${legendTitle}`);+ for (const match of html.matchAll(/<path d="M ([\d.]+) 142 L \1 ([\d.]+)" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"\/>/g)) {+ const end = Number(match[2]);+ assert.ok(end >= lateY && end <= legendTitle - 12, `lifeline end ${end}: last message ${lateY}, legend title ${legendTitle}`);+ }+ }+ assert.ok(Number(fs.readFileSync(automatic.output, 'utf8').match(/<svg viewBox="0 0 920 (\d+)"/)[1]) > 760);+});+test('edge path and label classes resolve to the same theme token', () => {const template = fs.readFileSync(path.join(skillRoot, 'assets/template.html'), 'utf8');for (const variant of VARIANTS) {diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex f11858db..f2cde7ca 100644Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differdiff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.jsonindex 9771a11b..847202b3 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,8 +7,8 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 818216,- "sha256": "76393a564a6f2308f5b43dbb45abb3b5c30d4769d7bd7e652f0cafc77ff3888f",+ "bytes": 816319,+ "sha256": "877555dff857fc332170d112d421ef5325afa0fd760c59bce3164367d1649645","scenes": [{"id": "signal-flow",@@ -31,7 +31,7 @@{"id": "classic","artifact": "docs/gallery/artifacts/cache-miss.sequence.html",- "artifactSha256": "4afe24a92e267e4d46e60560b2e4d15859e1a6278d3b02635d8c8ac99e2d611e",+ "artifactSha256": "6e7d6935ab2de9bd028496829500f8dd732afe6b14cf0467284ff1a531634cf4","hash": "#route=web~db","eyebrow": "SEQUENCE · CLASSIC","title": "Cache Miss Request",diff --git a/docs/gallery.html b/docs/gallery.htmlindex f614a390..ba518e1d 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -357,7 +357,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">7N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="79fff23bd5760dcd1ba126ac0c90ca15691cbaf3615108eaa8050a1db989bc98">79fff23bd576</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="6e7d6935ab2de9bd028496829500f8dd732afe6b14cf0467284ff1a531634cf4">6e7d6935ab2d</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html#focus=redis" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>@@ -936,9 +936,9 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"nodeCount": 7,"edgeCount": 12,"artifactBytes": 759989,- "artifactSha256": "79fff23bd5760dcd1ba126ac0c90ca15691cbaf3615108eaa8050a1db989bc98",+ "artifactSha256": "6e7d6935ab2de9bd028496829500f8dd732afe6b14cf0467284ff1a531634cf4","sourceBytes": 3805,- "sourceSha256": "f5c2e44f9a44000adc7c3b3040c4fcd88fe50b7cf8761302c21eb0c184e5780a",+ "sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [{"name": "single_svg",diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.htmlindex bc6732ba..5784889a 100644--- a/docs/gallery/artifacts/cache-miss.sequence.html+++ b/docs/gallery/artifacts/cache-miss.sequence.html@@ -4982,7 +4982,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 1080 560" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">+ <svg viewBox="0 0 1080 580" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase"><title id="archify-diagram-title">Cache Miss Request Sequence</title><desc id="archify-diagram-description">A sequence diagram generated by Archify.</desc><!-- Definitions -->@@ -5015,13 +5015,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="380" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/><!-- Lifelines -->- <path d="M 118.5 142 L 118.5 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 262.66666666666663 142 L 262.66666666666663 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 406.8333333333333 142 L 406.8333333333333 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 551 142 L 551 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 695.1666666666666 142 L 695.1666666666666 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 839.3333333333333 142 L 839.3333333333333 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 983.5 142 L 983.5 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 118.5 142 L 118.5 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 262.66666666666663 142 L 262.66666666666663 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 406.8333333333333 142 L 406.8333333333333 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 551 142 L 551 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 695.1666666666666 142 L 695.1666666666666 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 839.3333333333333 142 L 839.3333333333333 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 983.5 142 L 983.5 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/><!-- Activations --><rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-mask"/>@@ -5238,26 +5238,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Legend --><g data-legend="">- <text x="40" y="486" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="506" data-legend-width="103">- <path d="M 40 503 L 74 503" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>- <text x="83" y="506" class="t-muted" font-size="10" font-weight="500">main request</text>+ <text x="40" y="506" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="526" data-legend-width="103">+ <path d="M 40 523 L 74 523" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <text x="83" y="526" class="t-muted" font-size="10" font-weight="500">main request</text></g>- <g data-legend-semantic-kind="return" data-legend-x="165" data-legend-baseline="506" data-legend-width="73">- <path d="M 165 503 L 199 503" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>- <text x="208" y="506" class="t-muted" font-size="10" font-weight="500">return</text>+ <g data-legend-semantic-kind="return" data-legend-x="165" data-legend-baseline="526" data-legend-width="73">+ <path d="M 165 523 L 199 523" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>+ <text x="208" y="526" class="t-muted" font-size="10" font-weight="500">return</text></g>- <g data-legend-semantic-kind="security" data-legend-x="260" data-legend-baseline="506" data-legend-width="83">- <path d="M 260 503 L 294 503" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>- <text x="303" y="506" class="t-muted" font-size="10" font-weight="500">security</text>+ <g data-legend-semantic-kind="security" data-legend-x="260" data-legend-baseline="526" data-legend-width="83">+ <path d="M 260 523 L 294 523" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>+ <text x="303" y="526" class="t-muted" font-size="10" font-weight="500">security</text></g>- <g data-legend-semantic-kind="dashed" data-legend-x="365" data-legend-baseline="506" data-legend-width="98">- <path d="M 365 503 L 399 503" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>- <text x="408" y="506" class="t-muted" font-size="10" font-weight="500">async trace</text>+ <g data-legend-semantic-kind="dashed" data-legend-x="365" data-legend-baseline="526" data-legend-width="98">+ <path d="M 365 523 L 399 523" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>+ <text x="408" y="526" class="t-muted" font-size="10" font-weight="500">async trace</text></g>- <g data-legend-semantic-kind="default" data-legend-x="485" data-legend-baseline="506" data-legend-width="78">- <path d="M 485 503 L 519 503" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>- <text x="528" y="506" class="t-muted" font-size="10" font-weight="500">message</text>+ <g data-legend-semantic-kind="default" data-legend-x="485" data-legend-baseline="526" data-legend-width="78">+ <path d="M 485 523 L 519 523" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>+ <text x="528" y="526" class="t-muted" font-size="10" font-weight="500">message</text></g></g></svg>diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex 657594ff..348458f7 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -288,9 +288,9 @@"nodeCount": 7,"edgeCount": 12,"artifactBytes": 759989,- "artifactSha256": "79fff23bd5760dcd1ba126ac0c90ca15691cbaf3615108eaa8050a1db989bc98",+ "artifactSha256": "6e7d6935ab2de9bd028496829500f8dd732afe6b14cf0467284ff1a531634cf4","sourceBytes": 3805,- "sourceSha256": "f5c2e44f9a44000adc7c3b3040c4fcd88fe50b7cf8761302c21eb0c184e5780a",+ "sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6","checks": [{"name": "single_svg",diff --git a/docs/gallery/sources/cache-miss-request.sequence.json b/docs/gallery/sources/cache-miss-request.sequence.jsonindex 89cd286f..4ef2fab5 100644--- a/docs/gallery/sources/cache-miss-request.sequence.json+++ b/docs/gallery/sources/cache-miss-request.sequence.json@@ -4,7 +4,7 @@"meta": {"title": "Cache Miss Request Sequence","output": "examples/sequence-cache-miss-request.html",- "viewBox": [1080, 560],+ "viewBox": [1080, 580],"column_fit": "spread","animation": "trace","quality_profile": "showcase"diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.htmlindex bc6732ba..5784889a 100644--- a/examples/sequence-cache-miss-request.html+++ b/examples/sequence-cache-miss-request.html@@ -4982,7 +4982,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 1080 560" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase">+ <svg viewBox="0 0 1080 580" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="classic" data-quality-profile="showcase"><title id="archify-diagram-title">Cache Miss Request Sequence</title><desc id="archify-diagram-description">A sequence diagram generated by Archify.</desc><!-- Definitions -->@@ -5015,13 +5015,13 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<rect data-graph-role="structural-frame" data-composition-frame-kind="segment" data-composition-frame-id="2" x="48" y="380" width="984" height="100" rx="10" class="c-lane" stroke-width="1"/><!-- Lifelines -->- <path d="M 118.5 142 L 118.5 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 262.66666666666663 142 L 262.66666666666663 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 406.8333333333333 142 L 406.8333333333333 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 551 142 L 551 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 695.1666666666666 142 L 695.1666666666666 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 839.3333333333333 142 L 839.3333333333333 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>- <path d="M 983.5 142 L 983.5 474" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 118.5 142 L 118.5 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 262.66666666666663 142 L 262.66666666666663 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 406.8333333333333 142 L 406.8333333333333 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 551 142 L 551 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 695.1666666666666 142 L 695.1666666666666 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 839.3333333333333 142 L 839.3333333333333 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/>+ <path d="M 983.5 142 L 983.5 484" class="a-default" stroke-width="0.8" stroke-dasharray="3,7"/><!-- Activations --><rect x="257.66666666666663" y="180" width="10" height="294" rx="3" class="c-mask"/>@@ -5238,26 +5238,26 @@ OTHER DEALINGS IN THE FONT SOFTWARE.<!-- Legend --><g data-legend="">- <text x="40" y="486" class="t-primary" font-size="12" font-weight="650">Legend</text>- <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="506" data-legend-width="103">- <path d="M 40 503 L 74 503" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>- <text x="83" y="506" class="t-muted" font-size="10" font-weight="500">main request</text>+ <text x="40" y="506" class="t-primary" font-size="12" font-weight="650">Legend</text>+ <g data-legend-semantic-kind="emphasis" data-legend-x="40" data-legend-baseline="526" data-legend-width="103">+ <path d="M 40 523 L 74 523" class="a-emphasis" stroke-width="1.8" marker-end="url(#arrowhead-emphasis)"/>+ <text x="83" y="526" class="t-muted" font-size="10" font-weight="500">main request</text></g>- <g data-legend-semantic-kind="return" data-legend-x="165" data-legend-baseline="506" data-legend-width="73">- <path d="M 165 503 L 199 503" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>- <text x="208" y="506" class="t-muted" font-size="10" font-weight="500">return</text>+ <g data-legend-semantic-kind="return" data-legend-x="165" data-legend-baseline="526" data-legend-width="73">+ <path d="M 165 523 L 199 523" class="a-default" stroke-width="1.4" stroke-dasharray="3,5" marker-end="url(#arrowhead)"/>+ <text x="208" y="526" class="t-muted" font-size="10" font-weight="500">return</text></g>- <g data-legend-semantic-kind="security" data-legend-x="260" data-legend-baseline="506" data-legend-width="83">- <path d="M 260 503 L 294 503" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>- <text x="303" y="506" class="t-muted" font-size="10" font-weight="500">security</text>+ <g data-legend-semantic-kind="security" data-legend-x="260" data-legend-baseline="526" data-legend-width="83">+ <path d="M 260 523 L 294 523" class="a-security" stroke-width="1.4" marker-end="url(#arrowhead-security)"/>+ <text x="303" y="526" class="t-muted" font-size="10" font-weight="500">security</text></g>- <g data-legend-semantic-kind="dashed" data-legend-x="365" data-legend-baseline="506" data-legend-width="98">- <path d="M 365 503 L 399 503" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>- <text x="408" y="506" class="t-muted" font-size="10" font-weight="500">async trace</text>+ <g data-legend-semantic-kind="dashed" data-legend-x="365" data-legend-baseline="526" data-legend-width="98">+ <path d="M 365 523 L 399 523" class="a-dashed" stroke-width="1.4" marker-end="url(#arrowhead-dashed)"/>+ <text x="408" y="526" class="t-muted" font-size="10" font-weight="500">async trace</text></g>- <g data-legend-semantic-kind="default" data-legend-x="485" data-legend-baseline="506" data-legend-width="78">- <path d="M 485 503 L 519 503" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>- <text x="528" y="506" class="t-muted" font-size="10" font-weight="500">message</text>+ <g data-legend-semantic-kind="default" data-legend-x="485" data-legend-baseline="526" data-legend-width="78">+ <path d="M 485 523 L 519 523" class="a-default" stroke-width="1.4" marker-end="url(#arrowhead)"/>+ <text x="528" y="526" class="t-muted" font-size="10" font-weight="500">message</text></g></g></svg>