mergesort-4.svg 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>
  3. <svg width="521pt" height="188pt" viewBox="0 0 520.5 188" xmlns="http://www.w3.org/2000/svg">
  4. <g class="graph" transform="scale(1) translate(4 184)">
  5. <title>G</title>
  6. <polygon points="-4 4 -4 -184 516.5 -184 516.5 4" fill="#fff" stroke="transparent"/>
  7. <g class="node">
  8. <title>a</title>
  9. <ellipse cx="249" cy="-162" rx="18" ry="18" fill="none" stroke="#000"/>
  10. </g>
  11. <g class="node">
  12. <title>b</title>
  13. <ellipse cx="183" cy="-90" rx="18" ry="18" fill="none" stroke="#000"/>
  14. </g>
  15. <g class="edge">
  16. <title>a--b</title>
  17. <path d="m236.59-148.46c-11.8 12.872-29.446 32.123-41.228 44.976" fill="none" stroke="#000"/>
  18. </g>
  19. <g class="node">
  20. <title>c</title>
  21. <ellipse cx="316" cy="-90" rx="18" ry="18" fill="none" stroke="#000"/>
  22. </g>
  23. <g class="edge">
  24. <title>a--c</title>
  25. <path d="m261.29-148.79c11.938 12.829 29.98 32.218 42.045 45.183" fill="none" stroke="#000"/>
  26. </g>
  27. <g class="node">
  28. <title>d</title>
  29. <polygon points="110 -36 0 -36 0 0 110 0" fill="none" stroke="#000"/>
  30. <text x="55" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">merge [2] [3]</text>
  31. </g>
  32. <g class="edge">
  33. <title>b--d</title>
  34. <path d="m167.3-81.171c-19.894 11.19-54.674 30.754-80.273 45.154" fill="none" stroke="#000"/>
  35. </g>
  36. <g class="node">
  37. <title>e</title>
  38. <polygon points="238 -36 128 -36 128 0 238 0" fill="none" stroke="#000"/>
  39. <text x="183" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">merge [1] [1]</text>
  40. </g>
  41. <g class="edge">
  42. <title>b--e</title>
  43. <path d="m183-71.831v35.418" fill="none" stroke="#000"/>
  44. </g>
  45. <g class="node">
  46. <title>f</title>
  47. <polygon points="375.5 -36 256.5 -36 256.5 0 375.5 0" fill="none" stroke="#000"/>
  48. <text x="316" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">merge [10] [0]</text>
  49. </g>
  50. <g class="edge">
  51. <title>c--f</title>
  52. <path d="m316-71.831v35.418" fill="none" stroke="#000"/>
  53. </g>
  54. <g class="node">
  55. <title>g</title>
  56. <polygon points="512.5 -36 393.5 -36 393.5 0 512.5 0" fill="none" stroke="#000"/>
  57. <text x="453" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">merge [14] [4]</text>
  58. </g>
  59. <g class="edge">
  60. <title>c--g</title>
  61. <path d="m331.98-81.6c21.105 11.092 58.831 30.918 86.568 45.495" fill="none" stroke="#000"/>
  62. </g>
  63. </g>
  64. </svg>