Files
wpep/tools/gp/docs/diagrams/document-workflow.svg
T

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>&lt;mxGraphModel adaptiveColors=&quot;auto&quot; pageWidth=&quot;900&quot; pageHeight=&quot;570&quot;&gt;&lt;root&gt;&lt;mxCell id=&quot;0&quot; /&gt;&lt;mxCell id=&quot;1&quot; parent=&quot;0&quot; /&gt;&lt;mxCell id=&quot;publication&quot; value=&quot;PublicationInput&amp;lt;br&amp;gt;出版物 → 模板与 Markdown 渲染&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#d9eee8;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;40&quot; y=&quot;30&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;html&quot; value=&quot;HtmlInput&amp;lt;br&amp;gt;已有 HTML 与章节元数据&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#d9eee8;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;330&quot; y=&quot;30&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;ir&quot; value=&quot;HtmlDocument&amp;lt;br&amp;gt;章节 HTML · 元数据 · 资源 · 布局&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#bfe3d8;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;185&quot; y=&quot;160&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;text&quot; value=&quot;TextOutput&amp;lt;br&amp;gt;组装 HTML · 图片嵌入 · build.js&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#e5e4f5;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;40&quot; y=&quot;300&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;pdf&quot; value=&quot;PdfOutput&amp;lt;br&amp;gt;组装 HTML · 标记 · build.js&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#e5e4f5;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;330&quot; y=&quot;300&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;epub&quot; value=&quot;EpubOutput&amp;lt;br&amp;gt;章节链接与资源打包&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#e5e4f5;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;620&quot; y=&quot;300&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;textfile&quot; value=&quot;HTML / Markdown / TXT&amp;lt;br&amp;gt;转换并写入文件&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#fff0cf;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;40&quot; y=&quot;450&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;pdffile&quot; value=&quot;PDF&amp;lt;br&amp;gt;排版 → 索引 → 清理标记 → 后处理&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#fff0cf;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;330&quot; y=&quot;450&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;epubfile&quot; value=&quot;EPUB&amp;lt;br&amp;gt;导航 · OPF · XHTML · ZIP&quot; style=&quot;rounded=1;whiteSpace=wrap;html=1;fillColor=#fff0cf;strokeColor=#52716b;fontSize=14;&quot; vertex=&quot;1&quot; parent=&quot;1&quot;&gt;&lt;mxGeometry x=&quot;620&quot; y=&quot;450&quot; width=&quot;230&quot; height=&quot;80&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e0&quot; source=&quot;publication&quot; target=&quot;ir&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e1&quot; source=&quot;html&quot; target=&quot;ir&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e2&quot; source=&quot;ir&quot; target=&quot;text&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e3&quot; source=&quot;ir&quot; target=&quot;pdf&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e4&quot; source=&quot;ir&quot; target=&quot;epub&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e5&quot; source=&quot;text&quot; target=&quot;textfile&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e6&quot; source=&quot;pdf&quot; target=&quot;pdffile&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;mxCell id=&quot;e7&quot; source=&quot;epub&quot; target=&quot;epubfile&quot; edge=&quot;1&quot; parent=&quot;1&quot; style=&quot;edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;&quot;&gt;&lt;mxGeometry relative=&quot;1&quot; as=&quot;geometry&quot; /&gt;&lt;/mxCell&gt;&lt;/root&gt;&lt;/mxGraphModel&gt;</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>