mergesort-3.svg 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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="706pt" height="260pt" viewBox="0 0 706 260" xmlns="http://www.w3.org/2000/svg">
  4. <g class="graph" transform="scale(1) translate(4 256)">
  5. <title>G</title>
  6. <polygon points="-4 4 -4 -256 702 -256 702 4" fill="#fff" stroke="transparent"/>
  7. <g class="node">
  8. <title>a</title>
  9. <ellipse cx="340.5" cy="-234" rx="18" ry="18" fill="none" stroke="#000"/>
  10. </g>
  11. <g class="node">
  12. <title>b</title>
  13. <ellipse cx="251.5" cy="-162" rx="18" ry="18" fill="none" stroke="#000"/>
  14. </g>
  15. <g class="edge">
  16. <title>a--b</title>
  17. <path d="m326.2-222.43c-16.608 13.436-43.844 35.469-60.437 48.893" fill="none" stroke="#000"/>
  18. </g>
  19. <g class="node">
  20. <title>c</title>
  21. <ellipse cx="433.5" cy="-162" rx="18" ry="18" fill="none" stroke="#000"/>
  22. </g>
  23. <g class="edge">
  24. <title>a--c</title>
  25. <path d="m355.03-222.75c17.472 13.526 46.614 36.088 64.04 49.579" fill="none" stroke="#000"/>
  26. </g>
  27. <g class="node">
  28. <title>d</title>
  29. <ellipse cx="121.5" cy="-90" rx="18" ry="18" fill="none" stroke="#000"/>
  30. </g>
  31. <g class="edge">
  32. <title>b--d</title>
  33. <path d="m235.56-153.17c-24.95 13.819-72.958 40.408-97.988 54.271" fill="none" stroke="#000"/>
  34. </g>
  35. <g class="node">
  36. <title>e</title>
  37. <ellipse cx="251.5" cy="-90" rx="18" ry="18" fill="none" stroke="#000"/>
  38. </g>
  39. <g class="edge">
  40. <title>b--e</title>
  41. <path d="m251.5-143.83v35.418" fill="none" stroke="#000"/>
  42. </g>
  43. <g class="node">
  44. <title>f</title>
  45. <ellipse cx="433.5" cy="-90" rx="18" ry="18" fill="none" stroke="#000"/>
  46. </g>
  47. <g class="edge">
  48. <title>c--f</title>
  49. <path d="m433.5-143.83v35.418" fill="none" stroke="#000"/>
  50. </g>
  51. <g class="node">
  52. <title>g</title>
  53. <ellipse cx="571.5" cy="-90" rx="18" ry="18" fill="none" stroke="#000"/>
  54. </g>
  55. <g class="edge">
  56. <title>c--g</title>
  57. <path d="m449.6-153.6c26.591 13.874 79.378 41.415 105.9 55.253" fill="none" stroke="#000"/>
  58. </g>
  59. <g class="node">
  60. <title>h</title>
  61. <polygon points="69 -36 0 -36 0 0 69 0" fill="none" stroke="#000"/>
  62. <text x="34.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [2]</text>
  63. </g>
  64. <g class="edge">
  65. <title>d--h</title>
  66. <path d="m107.52-78.432c-13.834 11.448-35.209 29.138-51.264 42.426" fill="none" stroke="#000"/>
  67. </g>
  68. <g class="node">
  69. <title>i</title>
  70. <polygon points="156 -36 87 -36 87 0 156 0" fill="none" stroke="#000"/>
  71. <text x="121.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [3]</text>
  72. </g>
  73. <g class="edge">
  74. <title>d--i</title>
  75. <path d="m121.5-71.831v35.418" fill="none" stroke="#000"/>
  76. </g>
  77. <g class="node">
  78. <title>j</title>
  79. <polygon points="243 -36 174 -36 174 0 243 0" fill="none" stroke="#000"/>
  80. <text x="208.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [1]</text>
  81. </g>
  82. <g class="edge">
  83. <title>e--j</title>
  84. <path d="m242.17-74.377c-6.7185 11.25-15.801 26.458-22.84 38.243" fill="none" stroke="#000"/>
  85. </g>
  86. <g class="node">
  87. <title>k</title>
  88. <polygon points="330 -36 261 -36 261 0 330 0" fill="none" stroke="#000"/>
  89. <text x="295.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [1]</text>
  90. </g>
  91. <g class="edge">
  92. <title>e--k</title>
  93. <path d="m261.05-74.377c6.8748 11.25 16.169 26.458 23.371 38.243" fill="none" stroke="#000"/>
  94. </g>
  95. <g class="node">
  96. <title>l</title>
  97. <polygon points="426.5 -36 348.5 -36 348.5 0 426.5 0" fill="none" stroke="#000"/>
  98. <text x="387.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [10]</text>
  99. </g>
  100. <g class="edge">
  101. <title>f--l</title>
  102. <path d="m423.74-74.731c-7.2262 11.31-17.098 26.762-24.715 38.684" fill="none" stroke="#000"/>
  103. </g>
  104. <g class="node">
  105. <title>m</title>
  106. <polygon points="514 -36 445 -36 445 0 514 0" fill="none" stroke="#000"/>
  107. <text x="479.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [0]</text>
  108. </g>
  109. <g class="edge">
  110. <title>f--m</title>
  111. <path d="m443.26-74.731c7.2262 11.31 17.098 26.762 24.715 38.684" fill="none" stroke="#000"/>
  112. </g>
  113. <g class="node">
  114. <title>n</title>
  115. <polygon points="610.5 -36 532.5 -36 532.5 0 610.5 0" fill="none" stroke="#000"/>
  116. <text x="571.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [14]</text>
  117. </g>
  118. <g class="edge">
  119. <title>g--n</title>
  120. <path d="m571.5-71.831v35.418" fill="none" stroke="#000"/>
  121. </g>
  122. <g class="node">
  123. <title>o</title>
  124. <polygon points="698 -36 629 -36 629 0 698 0" fill="none" stroke="#000"/>
  125. <text x="663.5" y="-14.3" fill="#000000" font-family="Times,serif" font-size="14" text-anchor="middle">sort [4]</text>
  126. </g>
  127. <g class="edge">
  128. <title>g--o</title>
  129. <path d="m585.88-78.75c14.555 11.391 37.296 29.188 54.41 42.581" fill="none" stroke="#000"/>
  130. </g>
  131. </g>
  132. </svg>