03-圆方树-01-原图到圆方树.svg 2.3 KB

123456789101112131415
  1. <svg xmlns="http://www.w3.org/2000/svg" width="980" height="330" viewBox="0 0 980 330">
  2. <style>.t{font:16px sans-serif;fill:#172554}.s{font:13px sans-serif;fill:#475569}.n{fill:#fff;stroke:#2563eb;stroke-width:3}.cut{fill:#ffedd5;stroke:#ea580c;stroke-width:4}.q{fill:#d1fae5;stroke:#059669;stroke-width:3}.e{stroke:#64748b;stroke-width:3}.a{stroke:#16a34a;stroke-width:4}</style>
  3. <rect width="980" height="330" fill="white"/><text x="38" y="32" class="t" font-weight="bold">原图的重叠块</text>
  4. <g class="e"><line x1="100" y1="105" x2="210" y2="175"/><line x1="210" y1="175" x2="65" y2="230"/><line x1="65" y1="230" x2="100" y2="105"/><line x1="210" y1="175" x2="330" y2="105"/><line x1="330" y1="105" x2="370" y2="235"/><line x1="370" y1="235" x2="210" y2="175"/></g>
  5. <g class="n"><circle cx="100" cy="105" r="21"/><circle cx="65" cy="230" r="21"/><circle cx="330" cy="105" r="21"/><circle cx="370" cy="235" r="21"/></g><circle cx="210" cy="175" r="24" class="cut"/>
  6. <g class="t" text-anchor="middle"><text x="100" y="111">A</text><text x="65" y="236">B</text><text x="210" y="181">C</text><text x="330" y="111">D</text><text x="370" y="241">E</text></g>
  7. <text x="55" y="295" class="s">C 同属 ABC 与 CDE</text>
  8. <path d="M440 164 H515" class="a" fill="none"/><path d="M515 164 l-14 -8 v16z" fill="#16a34a"/><text x="445" y="142" class="s">把成员关系外置</text>
  9. <text x="570" y="32" class="t" font-weight="bold">圆方树的块—割点骨架</text>
  10. <g class="e"><line x1="625" y1="105" x2="735" y2="165"/><line x1="685" y1="250" x2="735" y2="165"/><line x1="735" y1="165" x2="845" y2="105"/><line x1="735" y1="165" x2="855" y2="240"/></g>
  11. <g class="q"><rect x="705" y="135" width="60" height="60" rx="8"/><rect x="815" y="75" width="60" height="60" rx="8"/></g>
  12. <g class="n"><circle cx="625" cy="105" r="21"/><circle cx="685" cy="250" r="21"/><circle cx="855" cy="240" r="21"/></g><circle cx="735" cy="165" r="24" class="cut"/>
  13. <g class="t" text-anchor="middle"><text x="625" y="111">A</text><text x="685" y="256">B</text><text x="735" y="171">C</text><text x="735" y="171" class="s" dy="42">Q1</text><text x="845" y="111">Q2</text><text x="855" y="246">E</text></g>
  14. <text x="570" y="295" class="s">圆点保留原点;每个方点代表一个点双分量。</text>
  15. </svg>