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: preserve intrinsic dimensions in exported SVGs
user0101011189c2618da9df
diff --git a/archify.zip b/archify.zipindex 2aa99ba8..8c2a1159 100644Binary files a/archify.zip and b/archify.zip differdiff --git a/archify/assets/template.html b/archify/assets/template.htmlindex f3783ebc..d9569274 100644--- a/archify/assets/template.html+++ b/archify/assets/template.html@@ -6214,6 +6214,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/archify/examples/dataflow-product-analytics.html b/archify/examples/dataflow-product-analytics.htmlindex d02edaad..6b4364e9 100644--- a/archify/examples/dataflow-product-analytics.html+++ b/archify/examples/dataflow-product-analytics.html@@ -6325,6 +6325,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/archify/examples/lifecycle-agent-run.html b/archify/examples/lifecycle-agent-run.htmlindex 42989123..3ec60898 100644--- a/archify/examples/lifecycle-agent-run.html+++ b/archify/examples/lifecycle-agent-run.html@@ -6260,6 +6260,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/archify/examples/sequence-cache-miss-request.html b/archify/examples/sequence-cache-miss-request.htmlindex 06821e28..e041031e 100644--- a/archify/examples/sequence-cache-miss-request.html+++ b/archify/examples/sequence-cache-miss-request.html@@ -6340,6 +6340,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/archify/examples/web-app-rendered.html b/archify/examples/web-app-rendered.htmlindex 20f0078b..4d901dfb 100644--- a/archify/examples/web-app-rendered.html+++ b/archify/examples/web-app-rendered.html@@ -6289,6 +6289,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/archify/examples/workflow-agent-tool-call-rendered.html b/archify/examples/workflow-agent-tool-call-rendered.htmlindex 94caaf3b..009fec9b 100644--- a/archify/examples/workflow-agent-tool-call-rendered.html+++ b/archify/examples/workflow-agent-tool-call-rendered.html@@ -6331,6 +6331,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/archify/test/export-browser.test.mjs b/archify/test/export-browser.test.mjsindex 70d758f0..c0bf7af6 100644--- a/archify/test/export-browser.test.mjs+++ b/archify/test/export-browser.test.mjs@@ -241,6 +241,72 @@ test('Export preserves menu, clipboard, semantic cards and recording lifecycles'assert.equal(sync,true);assert.deepEqual((await record('svg-sync-throw')).receipt,{});});+ await t.test('standalone SVG keeps intrinsic dimensions without changing Viewer or raster sizing', async () => {+ const fixtures = [+ ['architecture', 'web-app.architecture.json'],+ ['workflow', 'agent-tool-call.workflow.json'],+ ['sequence', 'cache-miss-request.sequence.json'],+ ['dataflow', 'product-analytics.dataflow.json'],+ ['lifecycle', 'agent-run.lifecycle.json'],+ ];+ try {+ for (const [mode, fixture] of fixtures) {+ execFileSync(process.execPath, [path.join(skillRoot, `renderers/${mode}/render-${mode}.mjs`), path.join(skillRoot, 'examples', fixture), file]);+ for (const theme of ['dark', 'light']) {+ await load({ theme });+ const dimensions = await run(`(()=>{const v=document.querySelector('.diagram-container svg').viewBox.baseVal;return [v.width,v.height];})()`);+ const viewerWidths = [];+ for (const width of [640, 1440]) {+ await send('Emulation.setDeviceMetricsOverride', { width, height: 900, deviceScaleFactor: 1, mobile: false });+ await run('Archify.readerLayout.whenStable()');+ await run('Archify.viewerChromeLayout.whenStable()');+ viewerWidths.push(await run(`document.querySelector('.diagram-container svg').getBoundingClientRect().width`));+ }+ assert.notEqual(viewerWidths[0], viewerWidths[1], `${mode}: Viewer remains responsive`);+ const original = await run(`document.querySelector('.diagram-container svg').outerHTML`);+ await run(`Archify.exportMenu.run('svg')`);+ await run('exportWait(()=>exportDownloads.length===1)');+ const svgText = await run('exportDownloads[0].blob.text()');+ const svgFile = path.join(evidence || scratch, `${mode}-${theme}.svg`);+ fs.writeFileSync(svgFile, svgText);+ const rasterSizes = [];+ for (const format of ['png', 'jpeg', 'webp']) {+ await run(`Archify.exportMenu.run('${format}')`);+ const result = await run(`(async()=>{const blob=exportDownloads.at(-1).blob;const image=await createImageBitmap(blob);const dimensions=[image.width,image.height];image.close();return {dimensions,type:blob.type};})()`);+ assert.deepEqual(result.dimensions, dimensions.map(n => n * 4), `${mode} ${theme} ${format}: native 4x raster`);+ assert.equal(result.type, 'image/' + format);+ rasterSizes.push({ format, ...result });+ if (evidence) {+ const bytes = await run('(async()=>Array.from(new Uint8Array(await exportDownloads.at(-1).blob.arrayBuffer())))()');+ fs.writeFileSync(path.join(evidence, `${mode}-${theme}.${format}`), Buffer.from(bytes));+ }+ }+ assert.equal(await run(`document.querySelector('.diagram-container svg').outerHTML`), original, 'exports leave the live SVG unchanged');+ await record(`${mode}-${theme}-sizing`);+ for (const width of [640, 1440]) {+ await send('Emulation.setDeviceMetricsOverride', { width, height: 900, deviceScaleFactor: 1, mobile: false });+ await send('Emulation.setEmulatedMedia', { features: [{ name: 'prefers-color-scheme', value: theme }, { name: 'prefers-reduced-motion', value: 'reduce' }] });+ const loaded = browser.cdp.waitFor('Page.loadEventFired', session);+ await send('Page.navigate', { url: pathToFileURL(svgFile).href });+ await loaded;+ await run('document.fonts.ready');+ const actual = await run(`(()=>{const s=document.documentElement,r=s.getBoundingClientRect(),v=s.viewBox.baseVal;return {rendered:[r.width,r.height],attributes:[Number(s.getAttribute('width')),Number(s.getAttribute('height'))],viewBox:[v.width,v.height]};})()`);+ records.push({ label: `${mode}-${theme}-direct-${width}`, ...actual, viewerWidths, rasterSizes });+ if (evidence && mode === 'architecture') {+ const shot = await send('Page.captureScreenshot', { format: 'png' });+ fs.writeFileSync(path.join(evidence, `${mode}-${theme}-direct-${width}.png`), Buffer.from(shot.data, 'base64'));+ }+ assert.deepEqual(actual.attributes, dimensions);+ assert.deepEqual(actual.viewBox, dimensions);+ assert.deepEqual(actual.rendered, dimensions, `${mode} ${theme}: intrinsic size at ${width}px viewport`);+ }+ }+ }+ } finally {+ execFileSync(process.execPath, [path.join(skillRoot, 'renderers/architecture/render-architecture.mjs'), input, file]);+ }+ });+await t.test('SVG download declares UTF-8 and preserves CJK text', async () => {const originalInput = fs.readFileSync(input, 'utf8');try {diff --git a/docs/assets/archify-live-proof.gif b/docs/assets/archify-live-proof.gifindex 72cbcac6..90cadfe8 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 d476a306..63e52a8c 100644--- a/docs/assets/archify-live-proof.json+++ b/docs/assets/archify-live-proof.json@@ -7,13 +7,13 @@"fps": 10,"frameCount": 54,"durationSeconds": 5.4,- "bytes": 1668210,- "sha256": "6fa7924a9dd1b3d7a2d32ccb060544fbb61631370e3cb2ee0c8a5f1fc01a1cce",+ "bytes": 1691356,+ "sha256": "7058a9a6af3ec4b84f39a9d18937da663b8a9b140c376d7d6dc6fa6f23c0123e","scenes": [{"id": "signal-flow","artifact": "docs/gallery/artifacts/agent-tool-call.workflow.html",- "artifactSha256": "59b0736cf66456cec937ce33cc2d8702fc973459a09bd07bbe7fdadc5ea78ef3",+ "artifactSha256": "d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c","view": "happy-path","eyebrow": "WORKFLOW · SIGNAL FLOW","title": "Agent Tool Call",@@ -22,7 +22,7 @@{"id": "blueprint","artifact": "docs/gallery/artifacts/production-deployment.architecture.html",- "artifactSha256": "66156f04b6a048feb0d0d7c63a3dfa3afa8daddff883679a5d0d082e8a0b48ca",+ "artifactSha256": "a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6","view": "request-boundary","eyebrow": "ARCHITECTURE · BLUEPRINT","title": "Production Deployment",@@ -31,7 +31,7 @@{"id": "classic","artifact": "docs/gallery/artifacts/cache-miss.sequence.html",- "artifactSha256": "ff09c5d5b7aad90651b27cc7e59d356ff3a3986b2c457224cc5848004f3298fa",+ "artifactSha256": "19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281","view": "cache-fallback","eyebrow": "SEQUENCE · CLASSIC","title": "Cache Miss Request",diff --git a/docs/gallery.html b/docs/gallery.htmlindex a0bbe83a..54f0d632 100644--- a/docs/gallery.html+++ b/docs/gallery.html@@ -298,7 +298,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">12N · 11E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="59b0736cf66456cec937ce33cc2d8702fc973459a09bd07bbe7fdadc5ea78ef3">59b0736cf664</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c">d1a1308ad3ff</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-tool-call.workflow.html?present=1&play=1#view=happy-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -328,7 +328,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">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="66156f04b6a048feb0d0d7c63a3dfa3afa8daddff883679a5d0d082e8a0b48ca">66156f04b6a0</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6">a710de03d4b8</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/production-deployment.architecture.html?present=1&play=1#view=request-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -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="ff09c5d5b7aad90651b27cc7e59d356ff3a3986b2c457224cc5848004f3298fa">ff09c5d5b7aa</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281">19fa7617ff2f</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/cache-miss.sequence.html?present=1&play=1#view=cache-fallback" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -386,7 +386,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">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="ccbaf889e2df6077cd23e528aca1a6ddb811a57cb1944428291448e09f26174a">ccbaf889e2df</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="cbd07d8734628fdbca577030df41fa5b6b5986c61a141784a54f5b5045627a74">cbd07d873462</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/release-delivery.workflow.html?present=1&play=1#view=approval-to-production" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -415,7 +415,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">11N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b70efacfce055e3cd54e533757ac5204434bbc24d17c8ac363561eb020453338">b70efacfce05</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b21282528ca71e35bb7c354ab5a14c077483d1b21dd8e154a4f2f0e9f8b9ce08">b21282528ca7</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/incident-response.workflow.html?present=1&play=1#view=mitigate-and-verify" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -444,7 +444,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">10N · 10E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="40a2a779072454e19d5df48e46ae422eebbf680d94b41fc93da11e5c4fc2e278">40a2a7790724</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e3d4da60d89d90e5593da1cf3319b64316abe2a91e2c28e6e4ebd6a3904477b0">e3d4da60d89d</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/product-analytics.dataflow.html?present=1&play=1#view=consent-boundary" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</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="16489c3e61f4733b398ffee6cc5b969f5fd82cb1462d0b007c441632b2497e07">16489c3e61f4</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="f9c7a76736984358c03c65d6d34aa7f6cdc3449110ce3d836a8540b3860d7aad">f9c7a7673698</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/async-job-roundtrip.sequence.html?present=1&play=1#view=work-and-retry" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -502,7 +502,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">12N · 12E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="db560447724f04e9b1b8606999d95a4b7560d54f939d10319254789ffd37e366">db560447724f</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b0bd7eefd4588e6d94a98c614034d0ff05a55539ea323a0cb5d129bc74dedc59">b0bd7eefd458</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/event-stream.dataflow.html?present=1&play=1#view=order-transit" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -531,7 +531,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">10N · 6E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="5d035aebc0141c63d6266ccc2134078906f979a0d6480e2f81de9af3fae995e4">5d035aebc014</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="1739b4fa608883225ab7ce4e41346ce674f5ef594c68eeeb346521009262a46d">1739b4fa6088</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/agent-run.lifecycle.html?present=1&play=1#view=main-lifecycle" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -560,7 +560,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">11N · 6E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="d3b4ce045a312498fc40a238db646898b7176930305df0f1f04293baf980c7ae">d3b4ce045a31</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="a0b0e00e1c1c03aff582d17aa8a71e00540dfeae98f7372034489e7170917874">a0b0e00e1c1c</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/deployment-release.lifecycle.html?present=1&play=1#view=rollback-outcomes" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -589,7 +589,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">10N · 9E</span></div>- <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="b23c18a8847f63960c7bd6aab13bb126987e338c11ecbae5608f9fe9229686b9">b23c18a8847f</span></div>+ <div class="receipt-cell"><span class="receipt-label">SHA-256</span><span class="receipt-value" title="e368a383dc3160c5f48a23af6194a1c9ce8058b02c29c474eb51aad7523fc1b1">e368a383dc31</span></div></div><div class="card-actions"><a class="card-link primary" href="gallery/artifacts/web-app.architecture.html?present=1&play=1#view=request-path" target="_blank" rel="noopener" data-en="Play named chapter ↗" data-zh="播放命名章节 ↗">Play named chapter ↗</a>@@ -675,8 +675,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 830007,- "artifactSha256": "59b0736cf66456cec937ce33cc2d8702fc973459a09bd07bbe7fdadc5ea78ef3",+ "artifactBytes": 830229,+ "artifactSha256": "d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c","sourceBytes": 5687,"sourceSha256": "4d3f6c23de2ca7d306e05d0041a9506833bb5a164a2bddc2d1984cf4da3ee90c","checks": [@@ -776,8 +776,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 831864,- "artifactSha256": "66156f04b6a048feb0d0d7c63a3dfa3afa8daddff883679a5d0d082e8a0b48ca",+ "artifactBytes": 832086,+ "artifactSha256": "a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6","sourceBytes": 5476,"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb","checks": [@@ -877,8 +877,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 825119,- "artifactSha256": "ff09c5d5b7aad90651b27cc7e59d356ff3a3986b2c457224cc5848004f3298fa",+ "artifactBytes": 825341,+ "artifactSha256": "19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281","sourceBytes": 4374,"sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7","checks": [@@ -978,8 +978,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 826205,- "artifactSha256": "ccbaf889e2df6077cd23e528aca1a6ddb811a57cb1944428291448e09f26174a",+ "artifactBytes": 826427,+ "artifactSha256": "cbd07d8734628fdbca577030df41fa5b6b5986c61a141784a54f5b5045627a74","sourceBytes": 5164,"sourceSha256": "e5c880417eac1623923c3dd5461e0c78acd762e1621a28bd53fc14a84cad6a91","checks": [@@ -1079,8 +1079,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 823520,- "artifactSha256": "b70efacfce055e3cd54e533757ac5204434bbc24d17c8ac363561eb020453338",+ "artifactBytes": 823742,+ "artifactSha256": "b21282528ca71e35bb7c354ab5a14c077483d1b21dd8e154a4f2f0e9f8b9ce08","sourceBytes": 5375,"sourceSha256": "5c760c82eee545dfb7da38a4e628059d7891af4cfbfc13c8a7009ea64f69aa1b","checks": [@@ -1180,8 +1180,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 827474,- "artifactSha256": "40a2a779072454e19d5df48e46ae422eebbf680d94b41fc93da11e5c4fc2e278",+ "artifactBytes": 827696,+ "artifactSha256": "e3d4da60d89d90e5593da1cf3319b64316abe2a91e2c28e6e4ebd6a3904477b0","sourceBytes": 5618,"sourceSha256": "91411404fb4828a3b7ea358f3a7b9877781c9e9dc9c04b42b6eb4a757281b59f","checks": [@@ -1281,8 +1281,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 824237,- "artifactSha256": "16489c3e61f4733b398ffee6cc5b969f5fd82cb1462d0b007c441632b2497e07",+ "artifactBytes": 824459,+ "artifactSha256": "f9c7a76736984358c03c65d6d34aa7f6cdc3449110ce3d836a8540b3860d7aad","sourceBytes": 4370,"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9","checks": [@@ -1382,8 +1382,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 831472,- "artifactSha256": "db560447724f04e9b1b8606999d95a4b7560d54f939d10319254789ffd37e366",+ "artifactBytes": 831694,+ "artifactSha256": "b0bd7eefd4588e6d94a98c614034d0ff05a55539ea323a0cb5d129bc74dedc59","sourceBytes": 5433,"sourceSha256": "a92d6597ddbe164f395da32a7d4b33cfae08edd7d9600a6fb45a2058e5bbb43e","checks": [@@ -1483,8 +1483,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 6,- "artifactBytes": 820551,- "artifactSha256": "5d035aebc0141c63d6266ccc2134078906f979a0d6480e2f81de9af3fae995e4",+ "artifactBytes": 820773,+ "artifactSha256": "1739b4fa608883225ab7ce4e41346ce674f5ef594c68eeeb346521009262a46d","sourceBytes": 4044,"sourceSha256": "7c0ad72ee7affbd6c6e4758b7520d61ddd4508c917acf36beabcad3ee7ca3ba7","checks": [@@ -1584,8 +1584,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 11,"edgeCount": 6,- "artifactBytes": 822093,- "artifactSha256": "d3b4ce045a312498fc40a238db646898b7176930305df0f1f04293baf980c7ae",+ "artifactBytes": 822315,+ "artifactSha256": "a0b0e00e1c1c03aff582d17aa8a71e00540dfeae98f7372034489e7170917874","sourceBytes": 4274,"sourceSha256": "735c2c5819266e6ea2a71775b6eefce98b53030ce90cb721dc8e1d022ce5be71","checks": [@@ -1685,8 +1685,8 @@ receipt 99 checks / 11 artifacts / deterministic hashes</pre>"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 822190,- "artifactSha256": "b23c18a8847f63960c7bd6aab13bb126987e338c11ecbae5608f9fe9229686b9",+ "artifactBytes": 822412,+ "artifactSha256": "e368a383dc3160c5f48a23af6194a1c9ce8058b02c29c474eb51aad7523fc1b1","sourceBytes": 3793,"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf","checks": [diff --git a/docs/gallery/artifacts/agent-run.lifecycle.html b/docs/gallery/artifacts/agent-run.lifecycle.htmlindex 42989123..3ec60898 100644--- a/docs/gallery/artifacts/agent-run.lifecycle.html+++ b/docs/gallery/artifacts/agent-run.lifecycle.html@@ -6260,6 +6260,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/agent-tool-call.workflow.html b/docs/gallery/artifacts/agent-tool-call.workflow.htmlindex 94caaf3b..009fec9b 100644--- a/docs/gallery/artifacts/agent-tool-call.workflow.html+++ b/docs/gallery/artifacts/agent-tool-call.workflow.html@@ -6331,6 +6331,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/async-job-roundtrip.sequence.html b/docs/gallery/artifacts/async-job-roundtrip.sequence.htmlindex 9de75276..9b36b40e 100644--- a/docs/gallery/artifacts/async-job-roundtrip.sequence.html+++ b/docs/gallery/artifacts/async-job-roundtrip.sequence.html@@ -6352,6 +6352,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/cache-miss.sequence.html b/docs/gallery/artifacts/cache-miss.sequence.htmlindex 06821e28..e041031e 100644--- a/docs/gallery/artifacts/cache-miss.sequence.html+++ b/docs/gallery/artifacts/cache-miss.sequence.html@@ -6340,6 +6340,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/deployment-release.lifecycle.html b/docs/gallery/artifacts/deployment-release.lifecycle.htmlindex 7f0b56c5..699abee9 100644--- a/docs/gallery/artifacts/deployment-release.lifecycle.html+++ b/docs/gallery/artifacts/deployment-release.lifecycle.html@@ -6286,6 +6286,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/event-stream.dataflow.html b/docs/gallery/artifacts/event-stream.dataflow.htmlindex 27abed7c..7e6ec21f 100644--- a/docs/gallery/artifacts/event-stream.dataflow.html+++ b/docs/gallery/artifacts/event-stream.dataflow.html@@ -6364,6 +6364,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/incident-response.workflow.html b/docs/gallery/artifacts/incident-response.workflow.htmlindex 09ee3a7a..756e4f46 100644--- a/docs/gallery/artifacts/incident-response.workflow.html+++ b/docs/gallery/artifacts/incident-response.workflow.html@@ -6291,6 +6291,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/product-analytics.dataflow.html b/docs/gallery/artifacts/product-analytics.dataflow.htmlindex d02edaad..6b4364e9 100644--- a/docs/gallery/artifacts/product-analytics.dataflow.html+++ b/docs/gallery/artifacts/product-analytics.dataflow.html@@ -6325,6 +6325,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/production-deployment.architecture.html b/docs/gallery/artifacts/production-deployment.architecture.htmlindex 7505e41d..b62878ca 100644--- a/docs/gallery/artifacts/production-deployment.architecture.html+++ b/docs/gallery/artifacts/production-deployment.architecture.html@@ -6356,6 +6356,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/release-delivery.workflow.html b/docs/gallery/artifacts/release-delivery.workflow.htmlindex 0800362c..075ad16e 100644--- a/docs/gallery/artifacts/release-delivery.workflow.html+++ b/docs/gallery/artifacts/release-delivery.workflow.html@@ -6317,6 +6317,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/artifacts/web-app.architecture.html b/docs/gallery/artifacts/web-app.architecture.htmlindex 20f0078b..4d901dfb 100644--- a/docs/gallery/artifacts/web-app.architecture.html+++ b/docs/gallery/artifacts/web-app.architecture.html@@ -6289,6 +6289,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/docs/gallery/manifest.json b/docs/gallery/manifest.jsonindex 2dc04eae..a31e9ee9 100644--- a/docs/gallery/manifest.json+++ b/docs/gallery/manifest.json@@ -27,8 +27,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 11,- "artifactBytes": 830007,- "artifactSha256": "59b0736cf66456cec937ce33cc2d8702fc973459a09bd07bbe7fdadc5ea78ef3",+ "artifactBytes": 830229,+ "artifactSha256": "d1a1308ad3ff60256bcc454d5f167ae85f3527a157649a06ddb4c37f8f54bb2c","sourceBytes": 5687,"sourceSha256": "4d3f6c23de2ca7d306e05d0041a9506833bb5a164a2bddc2d1984cf4da3ee90c","checks": [@@ -128,8 +128,8 @@"engineeringProfile": "deployment-ownership","nodeCount": 12,"edgeCount": 12,- "artifactBytes": 831864,- "artifactSha256": "66156f04b6a048feb0d0d7c63a3dfa3afa8daddff883679a5d0d082e8a0b48ca",+ "artifactBytes": 832086,+ "artifactSha256": "a710de03d4b8781cd8b91a80dbb76c9e55d3060e25fa70f540cc3760d306d8e6","sourceBytes": 5476,"sourceSha256": "ec484aa8576664fdb207b543fa49486b23273faccb7a5071e1a0becfb48c22eb","checks": [@@ -229,8 +229,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 12,- "artifactBytes": 825119,- "artifactSha256": "ff09c5d5b7aad90651b27cc7e59d356ff3a3986b2c457224cc5848004f3298fa",+ "artifactBytes": 825341,+ "artifactSha256": "19fa7617ff2fdc65c09d1c59ab03353def9f900b3f0a14b7d26913e0c81ff281","sourceBytes": 4374,"sourceSha256": "9a799a3661c16cd6ab4f6373ff6a04da95a9ab70d93b0a349b668466f4912fd7","checks": [@@ -330,8 +330,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 826205,- "artifactSha256": "ccbaf889e2df6077cd23e528aca1a6ddb811a57cb1944428291448e09f26174a",+ "artifactBytes": 826427,+ "artifactSha256": "cbd07d8734628fdbca577030df41fa5b6b5986c61a141784a54f5b5045627a74","sourceBytes": 5164,"sourceSha256": "e5c880417eac1623923c3dd5461e0c78acd762e1621a28bd53fc14a84cad6a91","checks": [@@ -431,8 +431,8 @@"engineeringProfile": null,"nodeCount": 11,"edgeCount": 10,- "artifactBytes": 823520,- "artifactSha256": "b70efacfce055e3cd54e533757ac5204434bbc24d17c8ac363561eb020453338",+ "artifactBytes": 823742,+ "artifactSha256": "b21282528ca71e35bb7c354ab5a14c077483d1b21dd8e154a4f2f0e9f8b9ce08","sourceBytes": 5375,"sourceSha256": "5c760c82eee545dfb7da38a4e628059d7891af4cfbfc13c8a7009ea64f69aa1b","checks": [@@ -532,8 +532,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 10,- "artifactBytes": 827474,- "artifactSha256": "40a2a779072454e19d5df48e46ae422eebbf680d94b41fc93da11e5c4fc2e278",+ "artifactBytes": 827696,+ "artifactSha256": "e3d4da60d89d90e5593da1cf3319b64316abe2a91e2c28e6e4ebd6a3904477b0","sourceBytes": 5618,"sourceSha256": "91411404fb4828a3b7ea358f3a7b9877781c9e9dc9c04b42b6eb4a757281b59f","checks": [@@ -633,8 +633,8 @@"engineeringProfile": null,"nodeCount": 7,"edgeCount": 14,- "artifactBytes": 824237,- "artifactSha256": "16489c3e61f4733b398ffee6cc5b969f5fd82cb1462d0b007c441632b2497e07",+ "artifactBytes": 824459,+ "artifactSha256": "f9c7a76736984358c03c65d6d34aa7f6cdc3449110ce3d836a8540b3860d7aad","sourceBytes": 4370,"sourceSha256": "545f20920c89b69c2bb1f15508d5543fddbeb15cffba61e102206e04bd5a5cd9","checks": [@@ -734,8 +734,8 @@"engineeringProfile": null,"nodeCount": 12,"edgeCount": 12,- "artifactBytes": 831472,- "artifactSha256": "db560447724f04e9b1b8606999d95a4b7560d54f939d10319254789ffd37e366",+ "artifactBytes": 831694,+ "artifactSha256": "b0bd7eefd4588e6d94a98c614034d0ff05a55539ea323a0cb5d129bc74dedc59","sourceBytes": 5433,"sourceSha256": "a92d6597ddbe164f395da32a7d4b33cfae08edd7d9600a6fb45a2058e5bbb43e","checks": [@@ -835,8 +835,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 6,- "artifactBytes": 820551,- "artifactSha256": "5d035aebc0141c63d6266ccc2134078906f979a0d6480e2f81de9af3fae995e4",+ "artifactBytes": 820773,+ "artifactSha256": "1739b4fa608883225ab7ce4e41346ce674f5ef594c68eeeb346521009262a46d","sourceBytes": 4044,"sourceSha256": "7c0ad72ee7affbd6c6e4758b7520d61ddd4508c917acf36beabcad3ee7ca3ba7","checks": [@@ -936,8 +936,8 @@"engineeringProfile": null,"nodeCount": 11,"edgeCount": 6,- "artifactBytes": 822093,- "artifactSha256": "d3b4ce045a312498fc40a238db646898b7176930305df0f1f04293baf980c7ae",+ "artifactBytes": 822315,+ "artifactSha256": "a0b0e00e1c1c03aff582d17aa8a71e00540dfeae98f7372034489e7170917874","sourceBytes": 4274,"sourceSha256": "735c2c5819266e6ea2a71775b6eefce98b53030ce90cb721dc8e1d022ce5be71","checks": [@@ -1037,8 +1037,8 @@"engineeringProfile": null,"nodeCount": 10,"edgeCount": 9,- "artifactBytes": 822190,- "artifactSha256": "b23c18a8847f63960c7bd6aab13bb126987e338c11ecbae5608f9fe9229686b9",+ "artifactBytes": 822412,+ "artifactSha256": "e368a383dc3160c5f48a23af6194a1c9ce8058b02c29c474eb51aad7523fc1b1","sourceBytes": 3793,"sourceSha256": "483350f5297df682aba4e4a0fa491307ce3d3abd725ae4df07fab177490752cf","checks": [diff --git a/examples/checkout-platform-delta.html b/examples/checkout-platform-delta.htmlindex 9829bacb..59358250 100644--- a/examples/checkout-platform-delta.html+++ b/examples/checkout-platform-delta.html@@ -11086,6 +11086,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and the@@ -26559,6 +26563,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/examples/checkout-platform-delta.receipt.json b/examples/checkout-platform-delta.receipt.jsonindex cdbb5873..d4da4aab 100644--- a/examples/checkout-platform-delta.receipt.json+++ b/examples/checkout-platform-delta.receipt.json@@ -219,8 +219,8 @@"Boundary identity is conservatively derived from kind + label."],"artifact": {- "sha256": "2eaf0eefd80554300a7099e46b041d2a9f4f89d38adfa1ed4cb2336e0446ceca",- "bytes": 2244270+ "sha256": "7ded299cc6c5c7eb3e28fcb6c8e5768a240ec71ec62021354ef41d85d8d00c30",+ "bytes": 2244770},"validation": {"checksPassed": 28,diff --git a/examples/dataflow-product-analytics.html b/examples/dataflow-product-analytics.htmlindex d02edaad..6b4364e9 100644--- a/examples/dataflow-product-analytics.html+++ b/examples/dataflow-product-analytics.html@@ -6325,6 +6325,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/examples/lifecycle-agent-run.html b/examples/lifecycle-agent-run.htmlindex 42989123..3ec60898 100644--- a/examples/lifecycle-agent-run.html+++ b/examples/lifecycle-agent-run.html@@ -6260,6 +6260,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/examples/sequence-cache-miss-request.html b/examples/sequence-cache-miss-request.htmlindex 06821e28..e041031e 100644--- a/examples/sequence-cache-miss-request.html+++ b/examples/sequence-cache-miss-request.html@@ -6340,6 +6340,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/examples/web-app-rendered.html b/examples/web-app-rendered.htmlindex 20f0078b..4d901dfb 100644--- a/examples/web-app-rendered.html+++ b/examples/web-app-rendered.html@@ -6289,6 +6289,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/examples/web-app.html b/examples/web-app.htmlindex 20f0078b..4d901dfb 100644--- a/examples/web-app.html+++ b/examples/web-app.html@@ -6289,6 +6289,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/examples/workflow-agent-tool-call-rendered.html b/examples/workflow-agent-tool-call-rendered.htmlindex 94caaf3b..009fec9b 100644--- a/examples/workflow-agent-tool-call-rendered.html+++ b/examples/workflow-agent-tool-call-rendered.html@@ -6331,6 +6331,10 @@ OTHER DEALINGS IN THE FONT SOFTWARE.// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and thediff --git a/viewer/export.js b/viewer/export.jsindex ea855d71..8c332eb9 100644--- a/viewer/export.js+++ b/viewer/export.js@@ -249,6 +249,10 @@// canvas upscaling.clone.setAttribute('width', vb.width * scale);clone.setAttribute('height', vb.height * scale);+ // Keep copied Viewer layout rules from overriding the export's size.+ clone.style.width = vb.width * scale + 'px';+ clone.style.height = vb.height * scale + 'px';+ clone.style.minWidth = '0';clone.setAttribute('xmlns', 'http://www.w3.org/2000/svg');// Only the SVG-relevant rules: semantic classes, markers, and the