Name SVG export after current MCM (e.g. MCM09_Detailed_View.svg)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
bf0eced44c
commit
37f3700a18
@ -248,7 +248,8 @@ export async function exportSVG() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
lines.push('</svg>');
|
lines.push('</svg>');
|
||||||
downloadBlob(new Blob([lines.join('\n')], { type: 'image/svg+xml' }), 'test_view.svg');
|
const mcmName = layout.currentMcm || 'export';
|
||||||
|
downloadBlob(new Blob([lines.join('\n')], { type: 'image/svg+xml' }), `${mcmName}_Detailed_View.svg`);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Emit EPC symbol — polyline + icon + right box, wrapped in <g> with id/label */
|
/** Emit EPC symbol — polyline + icon + right box, wrapped in <g> with id/label */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user