1 line
11 KiB
XML
1 line
11 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="900" height="570" viewBox="0 0 900 570" role="img"><title>document-workflow</title><metadata><mxGraphModel adaptiveColors="auto" pageWidth="900" pageHeight="570"><root><mxCell id="0" /><mxCell id="1" parent="0" /><mxCell id="publication" value="PublicationInput&lt;br&gt;出版物 → 模板与 Markdown 渲染" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d9eee8;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="40" y="30" width="230" height="80" as="geometry" /></mxCell><mxCell id="html" value="HtmlInput&lt;br&gt;已有 HTML 与章节元数据" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#d9eee8;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="330" y="30" width="230" height="80" as="geometry" /></mxCell><mxCell id="ir" value="HtmlDocument&lt;br&gt;章节 HTML · 元数据 · 资源 · 布局" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#bfe3d8;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="185" y="160" width="230" height="80" as="geometry" /></mxCell><mxCell id="text" value="TextOutput&lt;br&gt;组装 HTML · 图片嵌入 · build.js" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e5e4f5;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="40" y="300" width="230" height="80" as="geometry" /></mxCell><mxCell id="pdf" value="PdfOutput&lt;br&gt;组装 HTML · 标记 · build.js" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e5e4f5;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="330" y="300" width="230" height="80" as="geometry" /></mxCell><mxCell id="epub" value="EpubOutput&lt;br&gt;章节链接与资源打包" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#e5e4f5;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="620" y="300" width="230" height="80" as="geometry" /></mxCell><mxCell id="textfile" value="HTML / Markdown / TXT&lt;br&gt;转换并写入文件" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff0cf;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="40" y="450" width="230" height="80" as="geometry" /></mxCell><mxCell id="pdffile" value="PDF&lt;br&gt;排版 → 索引 → 清理标记 → 后处理" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff0cf;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="330" y="450" width="230" height="80" as="geometry" /></mxCell><mxCell id="epubfile" value="EPUB&lt;br&gt;导航 · OPF · XHTML · ZIP" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#fff0cf;strokeColor=#52716b;fontSize=14;" vertex="1" parent="1"><mxGeometry x="620" y="450" width="230" height="80" as="geometry" /></mxCell><mxCell id="e0" source="publication" target="ir" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e1" source="html" target="ir" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e2" source="ir" target="text" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e3" source="ir" target="pdf" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e4" source="ir" target="epub" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e5" source="text" target="textfile" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e6" source="pdf" target="pdffile" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e7" source="epub" target="epubfile" edge="1" parent="1" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;"><mxGeometry relative="1" as="geometry" /></mxCell></root></mxGraphModel></metadata><defs><marker id="arrow" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto"><path d="M0,0 L9,3 L0,6" fill="#52716b"/></marker></defs><rect width="100%" height="100%" fill="#fafdfb"/><path d="M155,110 V135.0 H300 V160" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><path d="M445,110 V135.0 H300 V160" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><path d="M300,240 V270.0 H155 V300" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><path d="M300,240 V270.0 H445 V300" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><path d="M300,240 V270.0 H735 V300" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><path d="M155,380 V415.0 H155 V450" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><path d="M445,380 V415.0 H445 V450" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><path d="M735,380 V415.0 H735 V450" fill="none" stroke="#52716b" stroke-width="2" marker-end="url(#arrow)"/><rect x="40" y="30" width="230" height="80" rx="12" fill="#d9eee8" stroke="#52716b"/><text x="155" y="59.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">PublicationInput</text><text x="155" y="81.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">出版物 → 模板与 Markdown 渲染</text><rect x="330" y="30" width="230" height="80" rx="12" fill="#d9eee8" stroke="#52716b"/><text x="445" y="59.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">HtmlInput</text><text x="445" y="81.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">已有 HTML 与章节元数据</text><rect x="185" y="160" width="230" height="80" rx="12" fill="#bfe3d8" stroke="#52716b"/><text x="300" y="189.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">HtmlDocument</text><text x="300" y="211.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">章节 HTML · 元数据 · 资源 · 布局</text><rect x="40" y="300" width="230" height="80" rx="12" fill="#e5e4f5" stroke="#52716b"/><text x="155" y="329.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">TextOutput</text><text x="155" y="351.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">组装 HTML · 图片嵌入 · build.js</text><rect x="330" y="300" width="230" height="80" rx="12" fill="#e5e4f5" stroke="#52716b"/><text x="445" y="329.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">PdfOutput</text><text x="445" y="351.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">组装 HTML · 标记 · build.js</text><rect x="620" y="300" width="230" height="80" rx="12" fill="#e5e4f5" stroke="#52716b"/><text x="735" y="329.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">EpubOutput</text><text x="735" y="351.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">章节链接与资源打包</text><rect x="40" y="450" width="230" height="80" rx="12" fill="#fff0cf" stroke="#52716b"/><text x="155" y="479.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">HTML / Markdown / TXT</text><text x="155" y="501.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">转换并写入文件</text><rect x="330" y="450" width="230" height="80" rx="12" fill="#fff0cf" stroke="#52716b"/><text x="445" y="479.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">PDF</text><text x="445" y="501.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">排版 → 索引 → 清理标记 → 后处理</text><rect x="620" y="450" width="230" height="80" rx="12" fill="#fff0cf" stroke="#52716b"/><text x="735" y="479.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">EPUB</text><text x="735" y="501.0" text-anchor="middle" dominant-baseline="middle" font-family="sans-serif" font-size="14" fill="#18332e">导航 · OPF · XHTML · ZIP</text></svg> |