pgram.gv 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. digraph test {
  2. size="7,9.5";
  3. page="8,10.5";
  4. ratio=fill;
  5. rankdir=LR;
  6. { rank=same;
  7. node [shape=house];
  8. A;C;E;G;I;K;M;O;Q;S;U;W;Y;
  9. node [shape=invhouse];
  10. B;D;F;H;J;L;N;P;R;T;V;X;Z;
  11. }
  12. { rank=same;
  13. node [shape=parallelogram];
  14. "Parallelogram" [label="This is a test\nof a multiline\nlabel in an\nparallelogram with approx\nsquare aspect"];
  15. "a ----- long thin parallelogram";
  16. "xx" [label="m"];
  17. "yy" [label="a\nb\nc\nd\ne\nf"];
  18. node [shape=octagon];
  19. "Octagon" [label="This is a test\nof a multiline\nlabel in an\noctagon with approx\nsquare aspect"];
  20. node [shape=parallelogram];
  21. "Parallelogram" [label="This is a test\nof a multiline\nlabel in an\nparallelogram with approx\nsquare aspect"];
  22. "a ----- long thin parallelogram";
  23. "zz" [label="m"];
  24. "qq" [label="a\nb\nc\nd\ne\nf"];
  25. ordering=out;
  26. }
  27. Parallelogram -> A;
  28. Parallelogram -> B;
  29. Parallelogram -> C;
  30. Parallelogram -> D;
  31. Parallelogram -> E;
  32. Parallelogram -> F;
  33. Parallelogram -> G;
  34. Parallelogram -> H;
  35. Parallelogram -> I;
  36. Parallelogram -> J;
  37. Parallelogram -> K;
  38. Parallelogram -> L;
  39. Parallelogram -> M;
  40. Parallelogram -> N;
  41. Parallelogram -> O;
  42. Parallelogram -> P;
  43. Parallelogram -> Q;
  44. Parallelogram -> R;
  45. Parallelogram -> S;
  46. Parallelogram -> T;
  47. Parallelogram -> U;
  48. Parallelogram -> V;
  49. Parallelogram -> W;
  50. Parallelogram -> X;
  51. Parallelogram -> Y;
  52. Parallelogram -> Z;
  53. { rank=same;
  54. node [shape=triangle];
  55. a;c;e;g;i;k;m;o;q;s;u;w;y;
  56. node [shape=tripleoctagon];
  57. b;d;f;h;j;l;n;p;r;t;v;x;z;
  58. }
  59. a -> Parallelogram -> Octagon;
  60. b -> Parallelogram -> Octagon;
  61. c -> Parallelogram -> Octagon;
  62. d -> Parallelogram -> Octagon;
  63. e -> Parallelogram -> Octagon;
  64. f -> Parallelogram -> Octagon;
  65. g -> Parallelogram -> Octagon;
  66. h -> Parallelogram -> Octagon;
  67. i -> Parallelogram -> Octagon;
  68. j -> Parallelogram -> Octagon;
  69. k -> Parallelogram -> Octagon;
  70. l -> Parallelogram -> Octagon;
  71. m -> Parallelogram -> Octagon;
  72. n -> Parallelogram -> Octagon;
  73. o -> Parallelogram -> Octagon;
  74. p -> Parallelogram -> Octagon;
  75. q -> Parallelogram -> Octagon;
  76. r -> Parallelogram -> Octagon;
  77. s -> Parallelogram -> Octagon;
  78. t -> Parallelogram -> Octagon;
  79. u -> Parallelogram -> Octagon;
  80. v -> Parallelogram -> Octagon;
  81. w -> Parallelogram -> Octagon;
  82. x -> Parallelogram -> Octagon;
  83. y -> Parallelogram -> Octagon;
  84. z -> Parallelogram -> Octagon;
  85. }