Skip to content

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

fix(sequence): surface unused-width repair advice

tt-a1ief90a02643cb
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1036f506..fc39f717 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,7 @@ All notable changes are documented here. Format loosely follows [Keep a Changelo
### Improved reading
+- **Sequence width review.** `finalize` now reports measured unused right-hand space when fixed participant columns crowd one side of a wide canvas. New unpinned candidates get a bounded `column_fit: "spread"` repair step; explicit fixed and legacy layouts keep their geometry, and the advice adds no validation warning or failure.
- **Lifecycle schema v2.** New lifecycle diagrams render one row per lane on a shared `col` 0–4 grid, so a state placed under the state it leaves gets a straight transition. The renderer sizes the canvas, widens column gaps for same-row labels, opens row gaps for the tracks their routes need, and routes automatic transitions with a dedicated orthogonal grid router (parallel reciprocal pairs, crossing-minimized tracks, corridor and outer-loop detours). Row titles move to a vertical left gutter, the implied phase rail is replaced by authored transitions, and state text is one step larger. Schema v1 files keep their exact state geometry.
- **Lifecycle marks and legend.** Start states get a UML initial marker and states without outgoing transitions a double border, both explained in the legend; decision no longer shares failure's red, and success is green. The lifecycle type sigil moves to the top-left like every other mode.
- **Whole diagram on the first screen.** With notes below the diagram, the adaptive reader now fits the complete diagram and its controls into the viewport down to the renderer's readable text floor, instead of holding primary labels at 12px and scrolling tall diagrams off a laptop screen; zoom restores detail.
diff --git a/archify.zip b/archify.zip
index adda93be..26de75c5 100644
Binary files a/archify.zip and b/archify.zip differ
diff --git a/archify/SKILL.md b/archify/SKILL.md
index 5b9cae5a..c7ad3cf9 100644
--- a/archify/SKILL.md
+++ b/archify/SKILL.md
@@ -78,6 +78,8 @@ Use the `finalize` command above for the first candidate and after a repair.
When a passing Architecture receipt reports `visualReviewRecommendation.signals.resolvedCrossovers`, copy the candidate aside and apply the hints in one edit that changes only node positions and sizes: every node, relationship (including its `from` and `to`), label, and source stays as it was. Rerun the complete `finalize` once with `--out-dir <folder>/review-2`, because the previous HTML already owns its browser evidence. If that run fails or reports more crossings, restore the copy and finalize it with `--out-dir <folder>/review-3`. Do not start a second placement round. Hints about extra bends alone are optional.
+When `layoutReviewRecommendation.action` is `inspect-sequence-width`, follow [Sequence width review](references/delivery-contract.md#sequence-width-review) before handing off a newly authored Sequence.
+
Perceptual review is optional for ordinary generation, including a newly positioned Architecture. Use [Optional capture evidence](references/delivery-contract.md#optional-capture-evidence), with `--out-dir <folder>/visual-check`, when the user requests visual review, during development audits, or for a concrete route/browser concern. `visualReviewRecommendation` is advisory. Inspect captures before claiming visual quality; otherwise report automated checks only.
Read [Delivery contract](references/delivery-contract.md) for failed gates, standalone commands, provenance/recovery, repeated delivery, exports, or opening. Recovery follows `deliver` → strict provenance `check` → `browser-check`; captures require strict provenance.
diff --git a/archify/bin/finalize.mjs b/archify/bin/finalize.mjs
index effadf9d..f96f727b 100644
--- a/archify/bin/finalize.mjs
+++ b/archify/bin/finalize.mjs
@@ -585,6 +585,15 @@ export function compactFinalizeReceipt(receipt) {
repair: 'Check whether that leading space is intentional. If not, reposition the connected scene nearer the canvas origin while retaining room for its actual boundaries, labels and return routes. Preserve all meaning and user-fixed geometry, then rerun finalize. No screenshot is required.',
};
}
+ const sequenceColumnSpace = receipt.stages?.check?.receipt?.composition?.sequenceColumnSpace;
+ if (receipt.ok && receipt.type === 'sequence' && sequenceColumnSpace?.reviewSuggested === true) {
+ compact.layoutReviewRecommendation = {
+ action: 'inspect-sequence-width',
+ evidence: sequenceColumnSpace,
+ reason: 'Fixed participant columns leave substantial unused space on the right, after accounting for message labels and notes. This is a layout suggestion, not a failed gate.',
+ repair: 'For a newly authored Sequence with omitted meta.column_fit and no user-fixed column geometry, set meta.column_fit to "spread" and rerun finalize once. Preserve participant order, every message, its y position, labels, notes and sources. Retain explicit fixed layouts and legacy inputs; report the suggestion instead of changing them automatically.',
+ };
+ }
if (!receipt.ok && receipt.status === 'fail' && receipt.failedStage === 'validate') {
compact.nextAction = {
action: 'edit-in-place',
diff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.html
index 348bf393..f5936e0f 100644
--- a/archify/examples/sequence-cache-miss-request.html
+++ b/archify/examples/sequence-cache-miss-request.html
@@ -4987,7 +4987,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 580" 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" data-sequence-column-fit="spread" 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 -->
diff --git a/archify/references/delivery-contract.md b/archify/references/delivery-contract.md
index 9e4d32fe..1cde6441 100644
--- a/archify/references/delivery-contract.md
+++ b/archify/references/delivery-contract.md
@@ -418,6 +418,12 @@ cannot be written, the diagnostic names that incomplete evidence.
Both browser commands inspect the exact delivered HTML without modifying or rerendering it.
+## Sequence width review
+
+A passing `finalize` may report `layoutReviewRecommendation.action: "inspect-sequence-width"`. Its `evidence` measures the fixed participant columns' unused right-hand space after accounting for message labels, notes and segment titles. This advice adds no warning, failure, screenshot requirement or automatic geometry change.
+
+For a newly authored candidate with omitted `meta.column_fit` and no user-fixed column geometry, save the candidate, set only `meta.column_fit` to `"spread"`, and rerun the complete `finalize` once with `--out-dir <folder>/width-review`. Keep participant order, messages and their y positions, labels, notes, sources and canvas dimensions. If that attempt fails, restore the candidate and finalize it with `--out-dir <folder>/width-restore`; report the remaining layout suggestion rather than iterating. Preserve an explicitly fixed layout or a supplied legacy candidate and disclose the suggestion without changing it. This review is about horizontal composition; a passing receipt still does not claim perceptual approval.
+
## Optional capture evidence
`visual-check` remains backward compatible for a requested or escalated
diff --git a/archify/renderers/sequence/README.md b/archify/renderers/sequence/README.md
index 22feffa5..8a25f1ec 100644
--- a/archify/renderers/sequence/README.md
+++ b/archify/renderers/sequence/README.md
@@ -88,6 +88,12 @@ participant labels do not fit the fixed 86px boxes. Spread derives box width
and column distance from the viewBox while preserving participant order,
lifelines, and message semantics.
+The artifact checker reports `composition.sequenceColumnSpace` from the rendered
+participants, routes and text. A large unused right-hand region in a fixed layout
+can produce an `inspect-sequence-width` recommendation in `finalize`; it is advice,
+not a new warning or failure. See [Sequence width review](../../references/delivery-contract.md#sequence-width-review)
+for the bounded authoring repair and explicit-fixed/legacy preservation rules.
+
## Design Rules
- Put participants across the top, ordered by the story the reader should
diff --git a/archify/renderers/sequence/render-sequence.mjs b/archify/renderers/sequence/render-sequence.mjs
index b2db98f8..808db62f 100644
--- a/archify/renderers/sequence/render-sequence.mjs
+++ b/archify/renderers/sequence/render-sequence.mjs
@@ -484,7 +484,7 @@ function renderSvg() {
// ratio, so without intrinsic-height the desktop Reader can neither narrow
// nor scroll it and every default sequence fails the browser gate.
const readerFit = sequence.meta?.viewBox ? '' : ' data-reader-fit="intrinsic-height"';
- return ` <svg viewBox="0 0 ${viewBox[0]} ${viewBox[1]}"${readerFit} ${svgRootAttrs(sequence.meta)}>
+ return ` <svg viewBox="0 0 ${viewBox[0]} ${viewBox[1]}" data-sequence-column-fit="${columnFit}"${readerFit} ${svgRootAttrs(sequence.meta)}>
${svgAccessibleText(sequence.meta, 'sequence')}
${renderDefinitions()}
diff --git a/archify/scripts/check-render-output.mjs b/archify/scripts/check-render-output.mjs
index 77dbc656..9b857eb3 100644
--- a/archify/scripts/check-render-output.mjs
+++ b/archify/scripts/check-render-output.mjs
@@ -173,6 +173,7 @@ if (svgMatches.length === 1) {
svgAttrs, fragment: beforeLegend, nodeRects, frames: compositionFrames,
arrows, labels: relationshipLabels,
});
+ const sequenceColumnSpace = collectSequenceColumnSpace({ svgAttrs, fragment: beforeLegend, nodeRects, arrows });
const labelClearanceThreshold = qualityProfile === 'showcase' ? 4 : 2;
const labelRouteMeasurements = collectLabelRouteClearance({
labels: relationshipLabels,
@@ -264,6 +265,7 @@ if (svgMatches.length === 1) {
}),
},
leadingSpace,
+ ...(sequenceColumnSpace ? { sequenceColumnSpace } : {}),
desktopReadability: desktopReadability.evidence,
issues: [
...containerBorderRuns.map((hit) => ({
@@ -787,6 +789,62 @@ function collectArchitectureLeadingSpace({ svgAttrs, fragment, nodeRects, frames
};
}
+// Advisory only: fixed columns are a compatibility contract. Measure semantic
+// content, including long labels/notes, rather than treating every wide canvas
+// as wasted space. Auto-sized segment frames do not add a participant column.
+function collectSequenceColumnSpace({ svgAttrs, fragment, nodeRects, arrows }) {
+ const columnFit = svgAttrs['data-sequence-column-fit'];
+ if (!['fixed', 'spread'].includes(columnFit)) return null;
+ const evidence = { measured: false, reviewSuggested: false, columnFit };
+ if (svgAttrs.transform
+ || [...fragment.matchAll(/<g\b[^>]*\btransform\s*=[^>]*>/gi)]
+ .some((match) => !/\bdata-semantic-sigil=/.test(match[0]))
+ || /<(?:path|line|rect|text)\b[^>]*\btransform\s*=/i.test(fragment)
+ || /<tspan\b/i.test(fragment)) return evidence;
+ const [originX, , width, height] = viewBoxRect(svgAttrs);
+ if (![originX, width, height].every(Number.isFinite) || width <= 0 || height <= 0) return evidence;
+ const nodeCount = [...fragment.matchAll(/<g\b[^>]*\bdata-node-id=/gi)].length;
+ if (!nodeRects.length || nodeCount !== nodeRects.length) return evidence;
+ const semanticArrows = arrows.filter((arrow) => arrow.from && arrow.to);
+ if (semanticArrows.some((arrow) => !arrow.routePoints.length)) return evidence;
+ const rightEdges = nodeRects.map((node) => node.box[0] + node.box[2]);
+ for (const arrow of semanticArrows) {
+ for (const point of arrow.routePoints) rightEdges.push(point[0]);
+ }
+ // Label plates, activations and segment titles also reserve horizontal room.
+ for (const match of fragment.matchAll(/<rect\b[^>]*>/gi)) {
+ const attrs = parseAttrs(match[0]);
+ if (!String(attrs.class || '').split(/\s+/).includes('c-mask')) continue;
+ rightEdges.push(numberAttr(attrs, 'x') + numberAttr(attrs, 'width'));
+ }
+ for (const match of fragment.matchAll(/<text\b([^>]*)>([\s\S]*?)<\/text>/gi)) {
+ const box = textBox(parseAttrs(match[1]), stripTags(match[2]).trim());
+ if (!box) return evidence;
+ rightEdges.push(box.x2);
+ }
+ if (!rightEdges.every(Number.isFinite)) return evidence;
+ const occupiedRight = Math.max(...rightEdges);
+ const gap = Math.max(0, originX + width - occupiedRight);
+ const ratio = gap / width;
+ const widths = nodeRects.map((node) => node.box[2]).sort((a, b) => a - b);
+ const typicalParticipantWidth = widths[Math.floor(widths.length / 2)];
+ return {
+ measured: true,
+ columnFit,
+ participantCount: nodeCount,
+ occupiedRight: Math.round(occupiedRight * 10) / 10,
+ viewBoxLeft: originX,
+ canvasWidth: width,
+ emptyRightPx: Math.round(gap * 10) / 10,
+ emptyRightRatio: Math.round(ratio * 1000) / 1000,
+ typicalParticipantWidth,
+ // Avoid stretching a small conversation merely to fill its canvas. These
+ // conservative review thresholds never contribute errors or warnings.
+ reviewSuggested: columnFit === 'fixed' && nodeCount >= 4
+ && gap > 2 * typicalParticipantWidth && ratio > 0.25,
+ };
+}
+
function frameName(frame) {
return `${frame.kind || 'frame'} "${frame.id}"`;
}
diff --git a/archify/test/sequence-width-review.test.mjs b/archify/test/sequence-width-review.test.mjs
new file mode 100644
index 00000000..23a3316d
--- /dev/null
+++ b/archify/test/sequence-width-review.test.mjs
@@ -0,0 +1,141 @@
+import assert from 'node:assert/strict';
+import { spawnSync } from 'node:child_process';
+import fs from 'node:fs';
+import os from 'node:os';
+import path from 'node:path';
+import test from 'node:test';
+import { fileURLToPath } from 'node:url';
+import { compactFinalizeReceipt } from '../bin/finalize.mjs';
+
+const root = fileURLToPath(new URL('../', import.meta.url));
+const cli = path.join(root, 'bin/archify.mjs');
+const checker = path.join(root, 'scripts/check-render-output.mjs');
+
+function sequence(count = 6) {
+ return {
+ schema_version: 1, diagram_type: 'sequence',
+ meta: { title: 'Background task request', viewBox: [1080, 690], quality_profile: 'showcase', output: 'diagram.html' },
+ participants: ['Caller', 'Session', 'Host', 'Sandbox', 'Worker', 'Files'].slice(0, count)
+ .map((label, i) => ({ id: `p${i}`, type: 'backend', label })),
+ messages: [{ from: 'p0', to: `p${count - 1}`, y: 200, label: '请求结果', variant: 'emphasis' }],
+ };
+}
+
+function render(t, spec) {
+ const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'archify-sequence-width-'));
+ t.after(() => fs.rmSync(dir, { recursive: true, force: true }));
+ const input = path.join(dir, 'candidate.json');
+ const output = path.join(dir, 'diagram.html');
+ fs.writeFileSync(input, JSON.stringify(spec));
+ const result = spawnSync(process.execPath, [cli, 'render', 'sequence', input, output], { encoding: 'utf8' });
+ assert.equal(result.status, 0, result.stdout + result.stderr);
+ return { input, output, html: fs.readFileSync(output, 'utf8') };
+}
+
+function check(output) {
+ const result = spawnSync(process.execPath, [checker, output], { encoding: 'utf8' });
+ const report = JSON.parse(result.stdout);
+ return { report, exitCode: result.status };
+}
+
+function summary(report, type = 'sequence', ok = true) {
+ return compactFinalizeReceipt({ ok, type, status: ok ? 'pass' : 'fail', diagnostics: [],
+ stages: { check: { status: ok ? 'pass' : 'fail', receipt: report } } });
+}
+
+test('six fixed columns on a 1080px canvas disclose unused width without failing or rewriting the artifact', t => {
+ const original = render(t, sequence());
+ const { report, exitCode } = check(original.output);
+ const space = report.composition.sequenceColumnSpace;
+ assert.equal(exitCode, 0);
+ assert.equal(space.measured, true);
+ assert.equal(space.participantCount, 6);
+ assert.equal(space.occupiedRight, 645);
+ assert.equal(space.emptyRightPx, 435);
+ assert.equal(space.emptyRightRatio, 0.403);
+ assert.equal(space.reviewSuggested, true);
+ assert.deepEqual(report.composition.summary, { errors: 0, warnings: 0 });
+ const compact = summary(report);
+ assert.equal(compact.status, 'pass');
+ assert.equal(compact.gates.check, 'pass');
+ assert.deepEqual(compact.diagnostics, []);
+ assert.equal(compact.visualReview, 'not-requested');
+ assert.equal(compact.layoutReviewRecommendation.action, 'inspect-sequence-width');
+ assert.deepEqual(compact.layoutReviewRecommendation.evidence, space);
+ assert.equal(summary(report, 'architecture').layoutReviewRecommendation, undefined);
+ assert.equal(summary(report, 'sequence', false).layoutReviewRecommendation, undefined);
+ assert.equal(fs.readFileSync(original.output, 'utf8'), original.html);
+});
+
+test('the suggested one-field spread edit clears the advice and retains message wording and order', t => {
+ const spec = sequence();
+ const original = render(t, spec);
+ spec.meta.column_fit = 'spread';
+ const repaired = render(t, spec);
+ const { report, exitCode } = check(repaired.output);
+ assert.equal(exitCode, 0);
+ assert.equal(report.composition.sequenceColumnSpace.columnFit, 'spread');
+ assert.equal(report.composition.sequenceColumnSpace.occupiedRight, 1040);
+ assert.equal(report.composition.sequenceColumnSpace.reviewSuggested, false);
+ assert.equal(summary(report).layoutReviewRecommendation, undefined);
+ const nodes = html => [...html.matchAll(/<g id="node-([^"]+)"/g)].map(x => x[1]);
+ assert.deepEqual(nodes(repaired.html), nodes(original.html));
+ assert.ok(repaired.html.includes('>请求结果</text>'));
+ assert.ok(repaired.html.includes(' L 965.5 200'));
+});
+
+test('explicit fixed remains byte-identical to the legacy default and advice preserves authored intent', t => {
+ const spec = sequence();
+ const original = render(t, spec);
+ spec.meta.column_fit = 'fixed';
+ const explicit = render(t, spec);
+ assert.equal(explicit.html, original.html);
+ const compact = summary(check(explicit.output).report);
+ assert.match(compact.layoutReviewRecommendation.repair, /Retain explicit fixed layouts and legacy inputs/);
+ assert.equal(JSON.parse(fs.readFileSync(explicit.input)).meta.column_fit, 'fixed');
+});
+
+test('small conversations and a compact fixed canvas are not advised to stretch', t => {
+ for (const count of [2, 3]) {
+ const { output } = render(t, sequence(count));
+ const space = check(output).report.composition.sequenceColumnSpace;
+ assert.equal(space.measured, true);
+ assert.equal(space.reviewSuggested, false);
+ }
+ const compact = sequence();
+ compact.meta.viewBox = [700, 690];
+ assert.equal(check(render(t, compact).output).report.composition.sequenceColumnSpace.reviewSuggested, false);
+});
+
+test('meaningful CJK message labels and notes occupy the right-hand region', t => {
+ for (const field of ['label', 'note']) {
+ const spec = sequence();
+ spec.messages = [{ from: 'p4', to: 'p5', y: 200, label: '结果', [field]: '这是需要保留的中文说明'.repeat(field === 'label' ? 4 : 3) }];
+ const { report } = check(render(t, spec).output);
+ const space = report.composition.sequenceColumnSpace;
+ assert.equal(space.measured, true);
+ assert.ok(space.occupiedRight > 810);
+ assert.equal(space.reviewSuggested, false, `${field} reserves the apparent blank area`);
+ }
+});
+
+test('segment frames are structural but their text still reserves width', t => {
+ const spec = sequence();
+ spec.segments = [{ label: 'Worker phase', from: 170, to: 260 }];
+ const { report } = check(render(t, spec).output);
+ assert.equal(report.composition.sequenceColumnSpace.reviewSuggested, true);
+});
+
+test('unknown, transformed and unmarked artifacts do not invite a column repair', t => {
+ const { output, html } = render(t, sequence());
+ for (const changed of [
+ html.replace(' data-sequence-column-fit="fixed"', ''),
+ html.replace('data-sequence-column-fit="fixed"', 'data-sequence-column-fit="unknown"'),
+ html.replace('<svg viewBox=', '<svg transform="translate(12 0)" viewBox='),
+ html.replace('<g id="node-p5"', '<g transform="translate(300 0)" id="node-p5"'),
+ ]) {
+ fs.writeFileSync(output, changed);
+ const space = check(output).report.composition.sequenceColumnSpace;
+ assert.notEqual(space?.reviewSuggested, true);
+ }
+});
diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gif
index b5cc55f4..f2cde7ca 100644
Binary files a/docs/assets/archify-live-proof.gif and b/docs/assets/archify-live-proof.gif differ
diff --git a/docs/assets/archify-live-proof.json b/docs/assets/archify-live-proof.json
index 1db0683c..90148e38 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": 822695,
- "sha256": "189f27b768be3c70c12df8d2d76d17122969fb354417f2a8ac8222857ae32c71",
+ "bytes": 816319,
+ "sha256": "877555dff857fc332170d112d421ef5325afa0fd760c59bce3164367d1649645",
"scenes": [
{
"id": "signal-flow",
@@ -31,7 +31,7 @@
{
"id": "classic",
"artifact": "docs/gallery/artifacts/cache-miss.sequence.html",
- "artifactSha256": "94959bf649035115ba07be3970d0fb788c51b5d791cc6afe5ceb28fa27774cef",
+ "artifactSha256": "325cfb1b4030fac6625db97bb9254b328c3b1dae1d7be9064433626984bcb021",
"hash": "#route=web~db",
"eyebrow": "SEQUENCE · CLASSIC",
"title": "Cache Miss Request",
diff --git a/docs/gallery.html b/docs/gallery.html
index bd9a6b13..cdb2314e 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="94959bf649035115ba07be3970d0fb788c51b5d791cc6afe5ceb28fa27774cef">94959bf64903</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="325cfb1b4030fac6625db97bb9254b328c3b1dae1d7be9064433626984bcb021">325cfb1b4030</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>
@@ -473,7 +473,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 · 14E</span></div>
- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="03be1cf3cfc3a1ac5d7ee0855b93ddc186133cf8d7c5feb17b4c5289555a52d6">03be1cf3cfc3</span></div>
+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="5843c29f9a7ee6b0643185b6080de67424a584ed923a1274856fbf1343b420d1">5843c29f9a7e</span></div>
</div>
<div class="card-actions">
<a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html#focus=queue" target="_blank" rel="noopener" data-en="Explore focus ↗" data-zh="探索聚焦路径 ↗">Explore focus ↗</a>
@@ -935,8 +935,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 762283,
- "artifactSha256": "94959bf649035115ba07be3970d0fb788c51b5d791cc6afe5ceb28fa27774cef",
+ "artifactBytes": 762317,
+ "artifactSha256": "325cfb1b4030fac6625db97bb9254b328c3b1dae1d7be9064433626984bcb021",
"sourceBytes": 3805,
"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6",
"checks": [
@@ -1022,6 +1022,18 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"measured": false,
"reviewSuggested": false
},
+ "sequenceColumnSpace": {
+ "measured": true,
+ "columnFit": "spread",
+ "participantCount": 7,
+ "occupiedRight": 1040,
+ "viewBoxLeft": 0,
+ "canvasWidth": 1080,
+ "emptyRightPx": 40,
+ "emptyRightRatio": 0.037,
+ "typicalParticipantWidth": 113,
+ "reviewSuggested": false
+ },
"desktopReadability": {
"budgetBasis": "legacy-930",
"readerContract": "declared-wide-v1",
@@ -1518,8 +1530,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 14,
- "artifactBytes": 761370,
- "artifactSha256": "03be1cf3cfc3a1ac5d7ee0855b93ddc186133cf8d7c5feb17b4c5289555a52d6",
+ "artifactBytes": 761403,
+ "artifactSha256": "5843c29f9a7ee6b0643185b6080de67424a584ed923a1274856fbf1343b420d1",
"sourceBytes": 3766,
"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a",
"checks": [
@@ -1605,6 +1617,18 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>
"measured": false,
"reviewSuggested": false
},
+ "sequenceColumnSpace": {
+ "measured": true,
+ "columnFit": "fixed",
+ "participantCount": 7,
+ "occupiedRight": 753,
+ "viewBoxLeft": 0,
+ "canvasWidth": 820,
+ "emptyRightPx": 67,
+ "emptyRightRatio": 0.082,
+ "typicalParticipantWidth": 86,
+ "reviewSuggested": false
+ },
"desktopReadability": {
"budgetBasis": "legacy-930",
"readerContract": "declared-wide-v1",
diff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
index 8a9c2c54..d5446de2 100644
--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html
+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html
@@ -4987,7 +4987,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 820 920" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase">
+ <svg viewBox="0 0 820 920" data-sequence-column-fit="fixed" role="img" lang="en" aria-labelledby="archify-diagram-title archify-diagram-description" data-animation="trace" data-preset="signal-flow" data-quality-profile="showcase">
<title id="archify-diagram-title">Async Job Roundtrip</title>
<desc id="archify-diagram-description">A sequence diagram generated by Archify.</desc>
<!-- Definitions -->
diff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.html
index 348bf393..f5936e0f 100644
--- a/docs/gallery/artifacts/cache-miss.sequence.html
+++ b/docs/gallery/artifacts/cache-miss.sequence.html
@@ -4987,7 +4987,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 580" 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" data-sequence-column-fit="spread" 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 -->
diff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.json
index 8927c751..0f63894f 100644
--- a/docs/gallery/manifest.json
+++ b/docs/gallery/manifest.json
@@ -287,8 +287,8 @@
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 12,
- "artifactBytes": 762283,
- "artifactSha256": "94959bf649035115ba07be3970d0fb788c51b5d791cc6afe5ceb28fa27774cef",
+ "artifactBytes": 762317,
+ "artifactSha256": "325cfb1b4030fac6625db97bb9254b328c3b1dae1d7be9064433626984bcb021",
"sourceBytes": 3805,
"sourceSha256": "f8486daa803fff6c295cecca4604c561fbbf9acb2e83326022b5a87639e8afe6",
"checks": [
@@ -374,6 +374,18 @@
"measured": false,
"reviewSuggested": false
},
+ "sequenceColumnSpace": {
+ "measured": true,
+ "columnFit": "spread",
+ "participantCount": 7,
+ "occupiedRight": 1040,
+ "viewBoxLeft": 0,
+ "canvasWidth": 1080,
+ "emptyRightPx": 40,
+ "emptyRightRatio": 0.037,
+ "typicalParticipantWidth": 113,
+ "reviewSuggested": false
+ },
"desktopReadability": {
"budgetBasis": "legacy-930",
"readerContract": "declared-wide-v1",
@@ -870,8 +882,8 @@
"engineeringProfile": null,
"nodeCount": 7,
"edgeCount": 14,
- "artifactBytes": 761370,
- "artifactSha256": "03be1cf3cfc3a1ac5d7ee0855b93ddc186133cf8d7c5feb17b4c5289555a52d6",
+ "artifactBytes": 761403,
+ "artifactSha256": "5843c29f9a7ee6b0643185b6080de67424a584ed923a1274856fbf1343b420d1",
"sourceBytes": 3766,
"sourceSha256": "b8c6c52f1763ede2933c77deb8da59b3e06917bc41d27e66df896136456b859a",
"checks": [
@@ -957,6 +969,18 @@
"measured": false,
"reviewSuggested": false
},
+ "sequenceColumnSpace": {
+ "measured": true,
+ "columnFit": "fixed",
+ "participantCount": 7,
+ "occupiedRight": 753,
+ "viewBoxLeft": 0,
+ "canvasWidth": 820,
+ "emptyRightPx": 67,
+ "emptyRightRatio": 0.082,
+ "typicalParticipantWidth": 86,
+ "reviewSuggested": false
+ },
"desktopReadability": {
"budgetBasis": "legacy-930",
"readerContract": "declared-wide-v1",
diff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.html
index 348bf393..f5936e0f 100644
--- a/examples/sequence-cache-miss-request.html
+++ b/examples/sequence-cache-miss-request.html
@@ -4987,7 +4987,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 580" 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" data-sequence-column-fit="spread" 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 -->