151 lines
5.6 KiB
XML
151 lines
5.6 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="800">
|
|
<style>
|
|
.component {
|
|
fill: #e3f2fd;
|
|
stroke: #1976d2;
|
|
stroke-width: 2;
|
|
rx: 10;
|
|
ry: 10;
|
|
}
|
|
.label {
|
|
font-family: Arial, sans-serif;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
text-anchor: middle;
|
|
}
|
|
.sublabel {
|
|
font-family: Arial, sans-serif;
|
|
font-size: 12px;
|
|
text-anchor: middle;
|
|
}
|
|
.connection {
|
|
stroke: #757575;
|
|
stroke-width: 2;
|
|
marker-end: url(#arrowhead);
|
|
}
|
|
.database {
|
|
fill: #ffebee;
|
|
stroke: #d32f2f;
|
|
stroke-width: 2;
|
|
rx: 10;
|
|
ry: 10;
|
|
}
|
|
.service {
|
|
fill: #e8f5e9;
|
|
stroke: #388e3c;
|
|
stroke-width: 2;
|
|
rx: 10;
|
|
ry: 10;
|
|
}
|
|
.system {
|
|
fill: #fff3e0;
|
|
stroke: #ef6c00;
|
|
stroke-width: 2;
|
|
rx: 10;
|
|
ry: 10;
|
|
}
|
|
</style>
|
|
|
|
<!-- Main system container -->
|
|
<rect x="50" y="50" width="1100" height="700" class="system" fill="#fff3e0"/>
|
|
<text x="600" y="40" class="label" text-anchor="middle">Qwen Image Edit Rapid-AIO v23 System</text>
|
|
|
|
<!-- Database Component -->
|
|
<rect x="850" y="150" width="200" height="100" class="database"/>
|
|
<text x="950" y="170" class="label">PostgreSQL Database</text>
|
|
<text x="950" y="190" class="sublabel">host: 192.168.1.160</text>
|
|
<text x="950" y="210" class="sublabel">port: 5433</text>
|
|
<text x="950" y="230" class="sublabel">dbname: dv</text>
|
|
|
|
<!-- ComfyUI Backend Component -->
|
|
<rect x="850" y="300" width="200" height="100" class="component"/>
|
|
<text x="950" y="320" class="label">ComfyUI Backend</text>
|
|
<text x="950" y="340" class="sublabel">Qwen-Rapid-NSFW-v23</text>
|
|
<text x="950" y="360" class="sublabel">GGUF Model (21.8GB)</text>
|
|
|
|
<!-- API Service Component -->
|
|
<rect x="850" y="450" width="200" height="100" class="service"/>
|
|
<text x="950" y="470" class="label">FastAPI Service</text>
|
|
<text x="950" y="490" class="sublabel">edit_api.py</text>
|
|
<text x="950" y="510" class="sublabel">Image Processing</text>
|
|
|
|
<!-- Watcher Service Component -->
|
|
<rect x="850" y="600" width="200" height="100" class="service"/>
|
|
<text x="950" y="620" class="label">Folder Watcher</text>
|
|
<text x="950" y="640" class="sublabel">watcher.py</text>
|
|
<text x="950" y="660" class="sublabel">car.html Generator</text>
|
|
|
|
<!-- Input/Output Directories -->
|
|
<rect x="50" y="150" width="200" height="100" class="component"/>
|
|
<text x="150" y="170" class="label">Stage Directory</text>
|
|
<text x="150" y="190" class="sublabel">/mnt/zim/tour-comfy/stage</text>
|
|
<text x="150" y="210" class="sublabel">Input images</text>
|
|
|
|
<rect x="50" y="300" width="200" height="100" class="component"/>
|
|
<text x="150" y="320" class="label">Output Directory</text>
|
|
<text x="150" y="340" class="sublabel">/mnt/zim/tour-comfy/output</text>
|
|
<text x="150" y="360" class="sublabel">Processed images</text>
|
|
|
|
<rect x="50" y="450" width="200" height="100" class="component"/>
|
|
<text x="150" y="470" class="label">Failed Directory</text>
|
|
<text x="150" y="490" class="sublabel">/mnt/zim/tour-comfy/failed</text>
|
|
<text x="150" y="510" class="sublabel">Failed images</text>
|
|
|
|
<!-- System Services -->
|
|
<rect x="50" y="600" width="200" height="100" class="component"/>
|
|
<text x="150" y="620" class="label">System Services</text>
|
|
<text x="150" y="640" class="sublabel">comfyui.target</text>
|
|
<text x="150" y="660" class="sublabel">backend, api, watcher</text>
|
|
|
|
<!-- Connections -->
|
|
<line x1="350" y1="200" x2="850" y2="200" class="connection"/>
|
|
<text x="600" y="190" class="sublabel">Image Upload</text>
|
|
|
|
<line x1="350" y1="350" x2="850" y2="350" class="connection"/>
|
|
<text x="600" y="340" class="sublabel">Processing Request</text>
|
|
|
|
<line x1="350" y1="500" x2="850" y2="500" class="connection"/>
|
|
<text x="600" y="490" class="sublabel">Database Access</text>
|
|
|
|
<line x1="350" y1="650" x2="850" y2="650" class="connection"/>
|
|
<text x="600" y="640" class="sublabel">File Monitoring</text>
|
|
|
|
<!-- Arrowhead marker definition -->
|
|
<defs>
|
|
<marker id="arrowhead" markerWidth="10" markerHeight="7"
|
|
refX="0" refY="3.5" orient="auto">
|
|
<polygon points="0 0, 10 3.5, 0 7" fill="#757575"/>
|
|
</marker>
|
|
</defs>
|
|
|
|
<!-- Configuration Files -->
|
|
<rect x="400" y="50" width="200" height="80" class="component"/>
|
|
<text x="500" y="70" class="label">Configuration</text>
|
|
<text x="500" y="90" class="sublabel">config.json</text>
|
|
<text x="500" y="110" class="sublabel">API Settings</text>
|
|
|
|
<!-- Prompt Management -->
|
|
<rect x="400" y="200" width="200" height="80" class="component"/>
|
|
<text x="500" y="220" class="label">Prompt Management</text>
|
|
<text x="500" y="240" class="sublabel">prompt_pose_book.md</text>
|
|
<text x="500" y="260" class="sublabel">Base prompts</text>
|
|
|
|
<!-- GFPGAN Component -->
|
|
<rect x="400" y="350" width="200" height="80" class="component"/>
|
|
<text x="500" y="370" class="label">GFPGAN Face Restoration</text>
|
|
<text x="500" y="390" class="sublabel">gfpgan directory</text>
|
|
<text x="500" y="410" class="sublabel">Face swap functionality</text>
|
|
|
|
<!-- System Target -->
|
|
<rect x="400" y="600" width="200" height="80" class="component"/>
|
|
<text x="500" y="620" class="label">System Target</text>
|
|
<text x="500" y="640" class="sublabel">comfyui.target</text>
|
|
<text x="500" y="660" class="sublabel">Service orchestration</text>
|
|
|
|
<!-- Connection between system components -->
|
|
<line x1="600" y1="130" x2="600" y2="150" class="connection"/>
|
|
<line x1="600" y1="280" x2="600" y2="300" class="connection"/>
|
|
<line x1="600" y1="430" x2="600" y2="450" class="connection"/>
|
|
<line x1="600" y1="580" x2="600" y2="600" class="connection"/>
|
|
|
|
</svg> |