mergesort-3.dot 762 B

1234567891011121314151617181920212223242526272829303132333435
  1. graph G {
  2. a[label="", shape=circle];
  3. b[label="", shape=circle];
  4. c[label="", shape=circle];
  5. {rank=same; b, c}
  6. d[label="", shape=circle];
  7. e[label="", shape=circle];
  8. f[label="", shape=circle];
  9. g[label="", shape=circle];
  10. {rank=same; d, e, f, g};
  11. h[label="sort [2]", shape=rectangle];
  12. i[label="sort [3]", shape=rectangle];
  13. j[label="sort [1]", shape=rectangle];
  14. k[label="sort [1]", shape=rectangle];
  15. l[label="sort [10]", shape=rectangle];
  16. m[label="sort [0]", shape=rectangle];
  17. n[label="sort [14]", shape=rectangle];
  18. o[label="sort [4]", shape=rectangle];
  19. {rank=same; h, i, j, k, l, m, n, o}
  20. a -- b;
  21. a -- c;
  22. b -- d;
  23. b -- e;
  24. c -- f;
  25. c -- g;
  26. d -- h;
  27. d -- i;
  28. e -- j;
  29. e -- k;
  30. f -- l;
  31. f -- m;
  32. g -- n;
  33. g -- o;
  34. }