ruby-graphviz_c 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (184) hide show
  1. checksums.yaml +7 -0
  2. data/.gemrc +0 -0
  3. data/.gitignore +9 -0
  4. data/.travis.yml +7 -0
  5. data/AUTHORS.rdoc +33 -0
  6. data/CHANGELOG.rdoc +287 -0
  7. data/COPYING.rdoc +133 -0
  8. data/Gemfile +4 -0
  9. data/README.rdoc +206 -0
  10. data/Rakefile +71 -0
  11. data/bin/dot2ruby +91 -0
  12. data/bin/gem2gv +165 -0
  13. data/bin/git2gv +167 -0
  14. data/bin/ruby2gv +234 -0
  15. data/bin/xml2gv +96 -0
  16. data/examples/dot/JSP.dot +52 -0
  17. data/examples/dot/balanced.dot +36 -0
  18. data/examples/dot/cluster.dot +30 -0
  19. data/examples/dot/dotgraph.dot +28 -0
  20. data/examples/dot/fsm.dot +20 -0
  21. data/examples/dot/genetic.dot +118 -0
  22. data/examples/dot/hello.dot +1 -0
  23. data/examples/dot/hello_test.rb +33 -0
  24. data/examples/dot/lion_share.dot +103 -0
  25. data/examples/dot/prof.dot +150 -0
  26. data/examples/dot/psg.dot +28 -0
  27. data/examples/dot/rank.dot +6 -0
  28. data/examples/dot/sdh.dot +284 -0
  29. data/examples/dot/siblings.dot +492 -0
  30. data/examples/dot/so-sample001.gv +30 -0
  31. data/examples/dot/so-sample002.gv +33 -0
  32. data/examples/dot/so-sample003.gv +45 -0
  33. data/examples/dot/test.dot +17 -0
  34. data/examples/dot/test_parse.rb +13 -0
  35. data/examples/dot/this_crach_with_dot_2.20.dot +24 -0
  36. data/examples/dot/unix.dot +104 -0
  37. data/examples/graphml/attributes.ext.graphml +12 -0
  38. data/examples/graphml/attributes.graphml +40 -0
  39. data/examples/graphml/cluster.graphml +75 -0
  40. data/examples/graphml/failed_graph.graphml +461 -0
  41. data/examples/graphml/hyper.graphml +29 -0
  42. data/examples/graphml/nested.graphml +54 -0
  43. data/examples/graphml/port.graphml +32 -0
  44. data/examples/graphml/simple.graphml +30 -0
  45. data/examples/hello.png +0 -0
  46. data/examples/rgv/rgv.ps +125 -0
  47. data/examples/rgv/test_rgv.rb +12 -0
  48. data/examples/sample01.rb +32 -0
  49. data/examples/sample02.rb +42 -0
  50. data/examples/sample03.rb +31 -0
  51. data/examples/sample04.rb +22 -0
  52. data/examples/sample05.rb +32 -0
  53. data/examples/sample06.rb +46 -0
  54. data/examples/sample07.rb +23 -0
  55. data/examples/sample08.rb +34 -0
  56. data/examples/sample09.rb +50 -0
  57. data/examples/sample10.rb +50 -0
  58. data/examples/sample11.rb +42 -0
  59. data/examples/sample12.rb +55 -0
  60. data/examples/sample13.rb +48 -0
  61. data/examples/sample14.rb +44 -0
  62. data/examples/sample15.rb +25 -0
  63. data/examples/sample16.rb +8 -0
  64. data/examples/sample17.rb +92 -0
  65. data/examples/sample18.rb +24 -0
  66. data/examples/sample19.rb +59 -0
  67. data/examples/sample20.rb +47 -0
  68. data/examples/sample21.rb +12 -0
  69. data/examples/sample22.rb +10 -0
  70. data/examples/sample23.rb +11 -0
  71. data/examples/sample24.rb +11 -0
  72. data/examples/sample25.rb +11 -0
  73. data/examples/sample26.rb +8 -0
  74. data/examples/sample27.rb +8 -0
  75. data/examples/sample28.rb +12 -0
  76. data/examples/sample29.rb +8 -0
  77. data/examples/sample30.rb +12 -0
  78. data/examples/sample31.rb +10 -0
  79. data/examples/sample32.rb +14 -0
  80. data/examples/sample33.rb +43 -0
  81. data/examples/sample34.rb +29 -0
  82. data/examples/sample35.rb +43 -0
  83. data/examples/sample36.rb +35 -0
  84. data/examples/sample37.rb +87 -0
  85. data/examples/sample38.rb +12 -0
  86. data/examples/sample39.rb +11 -0
  87. data/examples/sample40.rb +17 -0
  88. data/examples/sample41.rb +8 -0
  89. data/examples/sample42.rb +35 -0
  90. data/examples/sample43.rb +26 -0
  91. data/examples/sample44.rb +97 -0
  92. data/examples/sample45.rb +24 -0
  93. data/examples/sample46.rb +43 -0
  94. data/examples/sample47.rb +7 -0
  95. data/examples/sample48.rb +62 -0
  96. data/examples/sample49.rb +10 -0
  97. data/examples/sample50.rb +215 -0
  98. data/examples/sample51.rb +37 -0
  99. data/examples/sample52.rb +62 -0
  100. data/examples/sample53.rb +26 -0
  101. data/examples/sample54.rb +26 -0
  102. data/examples/sample55.rb +9 -0
  103. data/examples/sample56.rb +10 -0
  104. data/examples/sample57.rb +8 -0
  105. data/examples/sample58.rb +33 -0
  106. data/examples/sample59.rb +14 -0
  107. data/examples/sample60.rb +12 -0
  108. data/examples/sample61.rb +12 -0
  109. data/examples/sample62.rb +24 -0
  110. data/examples/sample63.rb +32 -0
  111. data/examples/sample64.rb +31 -0
  112. data/examples/sample65.rb +9 -0
  113. data/examples/sample66.rb +4 -0
  114. data/examples/sample67.rb +10 -0
  115. data/examples/sample68.rb +27 -0
  116. data/examples/sample69.rb +23 -0
  117. data/examples/sample70.rb +9 -0
  118. data/examples/sample99.rb +70 -0
  119. data/examples/sdlshapes/README +2 -0
  120. data/examples/sdlshapes/sdl.ps +655 -0
  121. data/examples/sdlshapes/sdlshapes.dot +78 -0
  122. data/examples/test.xml +26 -0
  123. data/examples/theory/pert.rb +47 -0
  124. data/examples/theory/tests.rb +87 -0
  125. data/lib/ext/gvpr/dot2ruby.g +185 -0
  126. data/lib/graphviz/attrs.rb +73 -0
  127. data/lib/graphviz/constants.rb +294 -0
  128. data/lib/graphviz/core_ext.rb +64 -0
  129. data/lib/graphviz/dot2ruby.rb +59 -0
  130. data/lib/graphviz/dot_script.rb +109 -0
  131. data/lib/graphviz/dsl.rb +67 -0
  132. data/lib/graphviz/edge.rb +197 -0
  133. data/lib/graphviz/elements.rb +39 -0
  134. data/lib/graphviz/ext.rb +17 -0
  135. data/lib/graphviz/family_tree/couple.rb +63 -0
  136. data/lib/graphviz/family_tree/generation.rb +39 -0
  137. data/lib/graphviz/family_tree/person.rb +120 -0
  138. data/lib/graphviz/family_tree/sibling.rb +13 -0
  139. data/lib/graphviz/family_tree.rb +118 -0
  140. data/lib/graphviz/graphml.rb +268 -0
  141. data/lib/graphviz/math/matrix.rb +221 -0
  142. data/lib/graphviz/node.rb +160 -0
  143. data/lib/graphviz/nothugly/nothugly.xsl +321 -0
  144. data/lib/graphviz/nothugly.rb +63 -0
  145. data/lib/graphviz/theory.rb +321 -0
  146. data/lib/graphviz/types/arrow_type.rb +32 -0
  147. data/lib/graphviz/types/color.rb +58 -0
  148. data/lib/graphviz/types/color_list.rb +24 -0
  149. data/lib/graphviz/types/esc_string.rb +20 -0
  150. data/lib/graphviz/types/gv_bool.rb +49 -0
  151. data/lib/graphviz/types/gv_double.rb +32 -0
  152. data/lib/graphviz/types/html_string.rb +18 -0
  153. data/lib/graphviz/types/lbl_string.rb +22 -0
  154. data/lib/graphviz/types/rect.rb +35 -0
  155. data/lib/graphviz/types/spline_type.rb +77 -0
  156. data/lib/graphviz/types.rb +22 -0
  157. data/lib/graphviz/utils/colors.rb +1018 -0
  158. data/lib/graphviz/utils.rb +70 -0
  159. data/lib/graphviz/xml.rb +119 -0
  160. data/lib/graphviz.rb +967 -0
  161. data/lib/ruby-graphviz.rb +1 -0
  162. data/man/dot2ruby.1 +66 -0
  163. data/man/dot2ruby.1.ronn +55 -0
  164. data/man/gem2gv.1 +60 -0
  165. data/man/gem2gv.1.ronn +47 -0
  166. data/man/git2gv.1 +48 -0
  167. data/man/git2gv.1.ronn +40 -0
  168. data/man/ruby2gv.1 +60 -0
  169. data/man/ruby2gv.1.ronn +47 -0
  170. data/man/xml2gv.1 +48 -0
  171. data/man/xml2gv.1.ronn +39 -0
  172. data/ruby-graphviz.gemspec +47 -0
  173. data/setup.rb +1585 -0
  174. data/test/helper.rb +13 -0
  175. data/test/support.rb +95 -0
  176. data/test/test_dot_script.rb +47 -0
  177. data/test/test_examples.rb +151 -0
  178. data/test/test_graph.rb +115 -0
  179. data/test/test_search.rb +29 -0
  180. data/test/test_subgraph.rb +27 -0
  181. data/test/test_theory.rb +98 -0
  182. data/test/test_types.rb +65 -0
  183. data/test/test_utils_colors.rb +52 -0
  184. metadata +301 -0
@@ -0,0 +1,52 @@
1
+ digraph fig7 {
2
+ node [shape=rect]
3
+ edge [dir=none]
4
+
5
+ subgraph compound1 {
6
+ a [label="LFILE"]
7
+ b [label="*\rLREC"]
8
+ c [label="o\rMATCHED LREC"]
9
+ d [label="o\rUNMATCHED LREC"]
10
+
11
+ a -> {b}
12
+ b -> {c d}
13
+ }
14
+
15
+ subgraph compound2 {
16
+ e [label="RFILE"]
17
+ f [label="*\rRREC"]
18
+ g [label="o\rMATCHED RREC"]
19
+ h [label="o\rUNMATCHED RREC"]
20
+
21
+ e -> {f}
22
+ f -> {g h}
23
+ }
24
+
25
+ subgraph compound3 {
26
+ i [label="REPORT"]
27
+ j [label="*\rLINE"]
28
+ k [label="o\rTYPE 1"]
29
+ l [label="o\rTYPE 2"]
30
+ m [label="o\rTYPE 3"]
31
+ n [label="o\rTYPE 4"]
32
+
33
+ i -> {j}
34
+ j -> {k l m n}
35
+ }
36
+
37
+ {rank=same a e i}
38
+ {rank=same b f j}
39
+ {rank=same c d g h k l m n}
40
+
41
+ subgraph correspondences {
42
+ edge [dir=both]
43
+
44
+ a -> e
45
+ e -> i
46
+
47
+ c -> g:s
48
+ d -> l:s
49
+ g -> k:s
50
+ h -> m:s
51
+ }
52
+ }
@@ -0,0 +1,36 @@
1
+ graph G
2
+ {
3
+ n1 [label="+"];
4
+ n2 [label="/"];
5
+ n1 -- n2;
6
+ n1b1 [label="", width=.1, style=invis]
7
+ n1 -- n1b1 [style=invis]
8
+ n1b2 [label="", width=.1, style=invis]
9
+ n1 -- n1b2 [style=invis]
10
+ n1b3 [label="", width=.1, style=invis]
11
+ n1 -- n1b3 [style=invis]
12
+ n7 [label="**"];
13
+ n1 -- n7;
14
+ { rank=same n2 -- n1b1 -- n1b2 -- n1b3 -- n7 [style=invis] }
15
+
16
+ n3 [label="*"];
17
+ n2 -- n3;
18
+ n2b1 [label="", width=.1, style=invis]
19
+ n2 -- n2b1 [style=invis]
20
+ n6 [label="3"];
21
+ n2 -- n6;
22
+ { rank=same n3 -- n2b1 -- n6 [style=invis] }
23
+
24
+ n8 [label="4"];
25
+ n7 -- n8;
26
+ n7b1 [label="", width=.1, style=invis]
27
+ n7 -- n7b1 [style=invis]
28
+ n9 [label="5"];
29
+ n7 -- n9;
30
+ { rank=same n8 -- n7b1 -- n9 [style=invis] }
31
+
32
+ n3 -- n4;
33
+ n4 [label="1"];
34
+ n3 -- n5;
35
+ n5 [label="2"];
36
+ }
@@ -0,0 +1,30 @@
1
+ digraph G {
2
+ subgraph cluster_0 {
3
+ style=filled;
4
+ color=lightgrey;
5
+ node [style=filled,color=white];
6
+ a0 -> a1;
7
+ a1 -> a2;
8
+ a2 -> a3;
9
+ label = "process #1";
10
+ }
11
+
12
+ subgraph cluster_1 {
13
+ node [style=filled];
14
+ b0 -> b1;
15
+ b1 -> b2;
16
+ b2 -> b3;
17
+ label = "process #2";
18
+ color=blue;
19
+ }
20
+ start -> a0;
21
+ start -> b0;
22
+ a1 -> b3;
23
+ b2 -> a3;
24
+ a3 -> a0;
25
+ a3 -> end;
26
+ b3 -> end;
27
+
28
+ start [shape=Mdiamond];
29
+ end [shape=Msquare];
30
+ }
@@ -0,0 +1,28 @@
1
+ digraph G {
2
+ graph [truecolor=true, bgcolor=transparent];
3
+ rankdir="LR";
4
+ subgraph {
5
+ rank = same;
6
+ mygraph [label = "# mygraph.dot\ldigraph G {\l Hello -> World;\l}\l", shape = note, fontname = "Courier", fontsize=10];
7
+ image [image = "./hello.png", label = "", shape = note];
8
+ }
9
+ subgraph {
10
+ rank = same;
11
+ mysite [label = "\nexample.com\n ", shape = "component", fontname = "Arial"];
12
+ dotgraph [label = "\ndotgraph.net\n ", shape = "component", fontname = "Arial"];
13
+ }
14
+ subgraph cluster_0 {
15
+ label = "my_page.html";
16
+ fontname = "Courier";
17
+ fontsize = 10;
18
+ color = black;
19
+ zeimage [image = "./hello.png", label = "", shape = note]
20
+ }
21
+
22
+ mygraph -> mysite [color = blue];
23
+ dotgraph -> image [color = red];
24
+ dotgraph -> mysite [color = red];
25
+ mysite -> dotgraph [color = blue];
26
+ image -> dotgraph [color = red];
27
+ mysite -> zeimage [color = red];
28
+ }
@@ -0,0 +1,20 @@
1
+ digraph finite_state_machine {
2
+ rankdir=LR;
3
+ size="8,5";
4
+ node [shape = doublecircle]; LR_0; LR_3; LR_4; LR_8;
5
+ node [shape = circle];
6
+ LR_0 -> LR_2 [ label = "SS(B)" ];
7
+ LR_0 -> LR_1 [ label = "SS(S)" ];
8
+ LR_1 -> LR_3 [ label = "S($end)" ];
9
+ LR_2 -> LR_6 [ label = "SS(b)" ];
10
+ LR_2 -> LR_5 [ label = "SS(a)" ];
11
+ LR_2 -> LR_4 [ label = "S(A)" ];
12
+ LR_5 -> LR_7 [ label = "S(b)" ];
13
+ LR_5 -> LR_5 [ label = "S(a)" ];
14
+ LR_6 -> LR_6 [ label = "S(b)" ];
15
+ LR_6 -> LR_5 [ label = "S(a)" ];
16
+ LR_7 -> LR_8 [ label = "S(b)" ];
17
+ LR_7 -> LR_5 [ label = "S(a)" ];
18
+ LR_8 -> LR_6 [ label = "S(b)" ];
19
+ LR_8 -> LR_5 [ label = "S(a)" ];
20
+ }
@@ -0,0 +1,118 @@
1
+ graph ""
2
+ {
3
+ label="((+ (* (X) (- (- (X) (X)) (X))) (% (+ (X) (X)) (COS (- (X) (X))))) (EXP (* (X) (X))) (+ (% (EXP (SIN (+ (X) (X)))) (SIN (* (X) (EXP (* (X) (X)))))) (* (X) (X))) (% (EXP (% (X) (% (X) (X)))) (EXP (SIN (X)))))";
4
+
5
+ subgraph cluster01
6
+ {
7
+ label="(+ (* (X) (- (- (X) (X)) (X))) (% (+ (X) (X)) (COS (- (X) (X)))))";
8
+ n002 ;
9
+ n002 [label="+"] ;
10
+ n002 -- n003 ;
11
+ n003 [label="*"] ;
12
+ n003 -- n004 ;
13
+ n004 [label="X"] ;
14
+ n003 -- n005 ;
15
+ n005 [label="-"] ;
16
+ n005 -- n006 ;
17
+ n006 [label="-"] ;
18
+ n006 -- n007 ;
19
+ n007 [label="X"] ;
20
+ n006 -- n008 ;
21
+ n008 [label="X"] ;
22
+ n005 -- n009 ;
23
+ n009 [label="X"] ;
24
+ n002 -- n010 ;
25
+ n010 [label="%"] ;
26
+ n010 -- n011 ;
27
+ n011 [label="+"] ;
28
+ n011 -- n012 ;
29
+ n012 [label="X"] ;
30
+ n011 -- n013 ;
31
+ n013 [label="X"] ;
32
+ n010 -- n014 ;
33
+ n014 [label="COS"] ;
34
+ n014 -- n015 ;
35
+ n015 [label="-"] ;
36
+ n015 -- n016 ;
37
+ n016 [label="X"] ;
38
+ n015 -- n017 ;
39
+ n017 [label="X"] ;
40
+ }
41
+
42
+ subgraph cluster17
43
+ {
44
+ label="(EXP (* (X) (X)))";
45
+ n018 ;
46
+ n018 [label="EXP"] ;
47
+ n018 -- n019 ;
48
+ n019 [label="*"] ;
49
+ n019 -- n020 ;
50
+ n020 [label="X"] ;
51
+ n019 -- n021 ;
52
+ n021 [label="X"] ;
53
+ }
54
+
55
+ subgraph cluster21
56
+ {
57
+ label="(+ (% (EXP (SIN (+ (X) (X)))) (SIN (* (X) (EXP (* (X) (X)))))) (* (X) (X)))";
58
+ n022 ;
59
+ n022 [label="+"] ;
60
+ n022 -- n023 ;
61
+ n023 [label="%"] ;
62
+ n023 -- n024 ;
63
+ n024 [label="EXP"] ;
64
+ n024 -- n025 ;
65
+ n025 [label="SIN"] ;
66
+ n025 -- n026 ;
67
+ n026 [label="+"] ;
68
+ n026 -- n027 ;
69
+ n027 [label="X"] ;
70
+ n026 -- n028 ;
71
+ n028 [label="X"] ;
72
+ n023 -- n029 ;
73
+ n029 [label="SIN"] ;
74
+ n029 -- n030 ;
75
+ n030 [label="*"] ;
76
+ n030 -- n031 ;
77
+ n031 [label="X"] ;
78
+ n030 -- n032 ;
79
+ n032 [label="EXP"] ;
80
+ n032 -- n033 ;
81
+ n033 [label="*"] ;
82
+ n033 -- n034 ;
83
+ n034 [label="X"] ;
84
+ n033 -- n035 ;
85
+ n035 [label="X"] ;
86
+ n022 -- n036 ;
87
+ n036 [label="*"] ;
88
+ n036 -- n037 ;
89
+ n037 [label="X"] ;
90
+ n036 -- n038 ;
91
+ n038 [label="X"] ;
92
+ }
93
+
94
+ subgraph cluster38
95
+ {
96
+ label="(% (EXP (% (X) (% (X) (X)))) (EXP (SIN (X))))";
97
+ n039 ;
98
+ n039 [label="%"] ;
99
+ n039 -- n040 ;
100
+ n040 [label="EXP"] ;
101
+ n040 -- n041 ;
102
+ n041 [label="%"] ;
103
+ n041 -- n042 ;
104
+ n042 [label="X"] ;
105
+ n041 -- n043 ;
106
+ n043 [label="%"] ;
107
+ n043 -- n044 ;
108
+ n044 [label="X"] ;
109
+ n043 -- n045 ;
110
+ n045 [label="X"] ;
111
+ n039 -- n046 ;
112
+ n046 [label="EXP"] ;
113
+ n046 -- n047 ;
114
+ n047 [label="SIN"] ;
115
+ n047 -- n048 ;
116
+ n048 [label="X"] ;
117
+ }
118
+ }
@@ -0,0 +1 @@
1
+ digraph G {Hello->World;}
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/ruby
2
+
3
+ $:.unshift( "../../lib" );
4
+ require "graphviz"
5
+
6
+ g = GraphViz.parse( "hello.dot", :path => "/usr/local/bin" ) { |g|
7
+ g.graph[:color] = "blue"
8
+ g.node[:color] = "red"
9
+ g.edge[:color] = "yellow"
10
+ g.get_node("Hello") { |n|
11
+ n.label = "Bonjour"
12
+ }
13
+ g.get_node("World") { |n|
14
+ n.label = "Le Monde"
15
+ }
16
+ }
17
+
18
+ g.graph.each do |k, v|
19
+ puts "graph : #{k} => #{v}"
20
+ end
21
+
22
+ g.node.each do |k, v|
23
+ puts "node : #{k} => #{v}"
24
+ end
25
+
26
+ g.edge.each do |k, v|
27
+ puts "edge : #{k} => #{v}"
28
+ end
29
+
30
+ puts "-----------"
31
+
32
+ puts g.output(:none => String)
33
+
@@ -0,0 +1,103 @@
1
+ digraph Ped_Lion_Share {
2
+ ratio = "auto" ;
3
+ label = "Pedigree Lion_Share" ;
4
+
5
+ "001" [shape=box , regular=1,style=filled,fillcolor=white ] ;
6
+ "002" [shape=box , regular=1,style=filled,fillcolor=white ] ;
7
+ "003" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
8
+ "004" [shape=box , regular=1,style=filled,fillcolor=white ] ;
9
+ "005" [shape=box , regular=1,style=filled,fillcolor=white ] ;
10
+ "006" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
11
+ "007" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
12
+ "009" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
13
+ "014" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
14
+ "015" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
15
+ "016" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
16
+ "ZZ01" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
17
+ "ZZ02" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
18
+ "017" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
19
+ "012" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
20
+ "008" [shape=box , regular=1,style=filled,fillcolor=white ] ;
21
+ "011" [shape=box , regular=1,style=filled,fillcolor=white ] ;
22
+ "013" [shape=box , regular=1,style=filled,fillcolor=white ] ;
23
+ "010" [shape=box , regular=1,style=filled,fillcolor=white ] ;
24
+ "023" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
25
+ "020" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
26
+ "021" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
27
+ "018" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
28
+ "025" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
29
+ "019" [shape=box , regular=1,style=filled,fillcolor=white ] ;
30
+ "022" [shape=box , regular=1,style=filled,fillcolor=white ] ;
31
+ "024" [shape=box , regular=1,style=filled,fillcolor=white ] ;
32
+ "027" [shape=circle , regular=1,style=filled,fillcolor=white ] ;
33
+ "026" [shape=box , regular=1,style=filled,fillcolor=white ] ;
34
+ "028" [shape=box , regular=1,style=filled,fillcolor=grey ] ;
35
+ "marr0001" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
36
+ "001" -> "marr0001" [dir=none,weight=1] ;
37
+ "007" -> "marr0001" [dir=none,weight=1] ;
38
+ "marr0001" -> "017" [dir=none, weight=2] ;
39
+ "marr0002" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
40
+ "001" -> "marr0002" [dir=none,weight=1] ;
41
+ "ZZ02" -> "marr0002" [dir=none,weight=1] ;
42
+ "marr0002" -> "012" [dir=none, weight=2] ;
43
+ "marr0003" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
44
+ "002" -> "marr0003" [dir=none,weight=1] ;
45
+ "003" -> "marr0003" [dir=none,weight=1] ;
46
+ "marr0003" -> "008" [dir=none, weight=2] ;
47
+ "marr0004" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
48
+ "002" -> "marr0004" [dir=none,weight=1] ;
49
+ "006" -> "marr0004" [dir=none,weight=1] ;
50
+ "marr0004" -> "011" [dir=none, weight=2] ;
51
+ "marr0005" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
52
+ "002" -> "marr0005" [dir=none,weight=1] ;
53
+ "ZZ01" -> "marr0005" [dir=none,weight=1] ;
54
+ "marr0005" -> "013" [dir=none, weight=2] ;
55
+ "marr0006" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
56
+ "004" -> "marr0006" [dir=none,weight=1] ;
57
+ "009" -> "marr0006" [dir=none,weight=1] ;
58
+ "marr0006" -> "010" [dir=none, weight=2] ;
59
+ "marr0007" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
60
+ "005" -> "marr0007" [dir=none,weight=1] ;
61
+ "015" -> "marr0007" [dir=none,weight=1] ;
62
+ "marr0007" -> "023" [dir=none, weight=2] ;
63
+ "marr0008" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
64
+ "005" -> "marr0008" [dir=none,weight=1] ;
65
+ "016" -> "marr0008" [dir=none,weight=1] ;
66
+ "marr0008" -> "020" [dir=none, weight=2] ;
67
+ "marr0009" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
68
+ "005" -> "marr0009" [dir=none,weight=1] ;
69
+ "012" -> "marr0009" [dir=none,weight=1] ;
70
+ "marr0009" -> "021" [dir=none, weight=2] ;
71
+ "marr0010" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
72
+ "008" -> "marr0010" [dir=none,weight=1] ;
73
+ "017" -> "marr0010" [dir=none,weight=1] ;
74
+ "marr0010" -> "018" [dir=none, weight=2] ;
75
+ "marr0011" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
76
+ "011" -> "marr0011" [dir=none,weight=1] ;
77
+ "023" -> "marr0011" [dir=none,weight=1] ;
78
+ "marr0011" -> "025" [dir=none, weight=2] ;
79
+ "marr0012" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
80
+ "013" -> "marr0012" [dir=none,weight=1] ;
81
+ "014" -> "marr0012" [dir=none,weight=1] ;
82
+ "marr0012" -> "019" [dir=none, weight=2] ;
83
+ "marr0013" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
84
+ "010" -> "marr0013" [dir=none,weight=1] ;
85
+ "021" -> "marr0013" [dir=none,weight=1] ;
86
+ "marr0013" -> "022" [dir=none, weight=2] ;
87
+ "marr0014" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
88
+ "019" -> "marr0014" [dir=none,weight=1] ;
89
+ "020" -> "marr0014" [dir=none,weight=1] ;
90
+ "marr0014" -> "024" [dir=none, weight=2] ;
91
+ "marr0015" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
92
+ "022" -> "marr0015" [dir=none,weight=1] ;
93
+ "025" -> "marr0015" [dir=none,weight=1] ;
94
+ "marr0015" -> "027" [dir=none, weight=2] ;
95
+ "marr0016" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
96
+ "024" -> "marr0016" [dir=none,weight=1] ;
97
+ "018" -> "marr0016" [dir=none,weight=1] ;
98
+ "marr0016" -> "026" [dir=none, weight=2] ;
99
+ "marr0017" [shape=diamond,style=filled,label="",height=.1,width=.1] ;
100
+ "026" -> "marr0017" [dir=none,weight=1] ;
101
+ "027" -> "marr0017" [dir=none,weight=1] ;
102
+ "marr0017" -> "028" [dir=none, weight=2] ;
103
+ }
@@ -0,0 +1,150 @@
1
+ digraph prof {
2
+ size="6,4"; ratio = fill;
3
+ node [style=filled];
4
+ start -> main [color="0.002 0.999 0.999"];
5
+ start -> on_exit [color="0.649 0.701 0.701"];
6
+ main -> sort [color="0.348 0.839 0.839"];
7
+ main -> merge [color="0.515 0.762 0.762"];
8
+ main -> term [color="0.647 0.702 0.702"];
9
+ main -> signal [color="0.650 0.700 0.700"];
10
+ main -> sbrk [color="0.650 0.700 0.700"];
11
+ main -> unlink [color="0.650 0.700 0.700"];
12
+ main -> newfile [color="0.650 0.700 0.700"];
13
+ main -> fclose [color="0.650 0.700 0.700"];
14
+ main -> close [color="0.650 0.700 0.700"];
15
+ main -> brk [color="0.650 0.700 0.700"];
16
+ main -> setbuf [color="0.650 0.700 0.700"];
17
+ main -> copyproto [color="0.650 0.700 0.700"];
18
+ main -> initree [color="0.650 0.700 0.700"];
19
+ main -> safeoutfil [color="0.650 0.700 0.700"];
20
+ main -> getpid [color="0.650 0.700 0.700"];
21
+ main -> sprintf [color="0.650 0.700 0.700"];
22
+ main -> creat [color="0.650 0.700 0.700"];
23
+ main -> rem [color="0.650 0.700 0.700"];
24
+ main -> oldfile [color="0.650 0.700 0.700"];
25
+ sort -> msort [color="0.619 0.714 0.714"];
26
+ sort -> filbuf [color="0.650 0.700 0.700"];
27
+ sort -> newfile [color="0.650 0.700 0.700"];
28
+ sort -> fclose [color="0.650 0.700 0.700"];
29
+ sort -> setbuf [color="0.650 0.700 0.700"];
30
+ sort -> setfil [color="0.650 0.700 0.700"];
31
+ msort -> qsort [color="0.650 0.700 0.700"];
32
+ msort -> insert [color="0.650 0.700 0.700"];
33
+ msort -> wline [color="0.650 0.700 0.700"];
34
+ msort -> div [color="0.650 0.700 0.700"];
35
+ msort -> cmpsave [color="0.650 0.700 0.700"];
36
+ merge -> insert [color="0.650 0.700 0.700"];
37
+ merge -> rline [color="0.650 0.700 0.700"];
38
+ merge -> wline [color="0.650 0.700 0.700"];
39
+ merge -> unlink [color="0.650 0.700 0.700"];
40
+ merge -> fopen [color="0.650 0.700 0.700"];
41
+ merge -> fclose [color="0.650 0.700 0.700"];
42
+ merge -> setfil [color="0.650 0.700 0.700"];
43
+ merge -> mul [color="0.650 0.700 0.700"];
44
+ merge -> setbuf [color="0.650 0.700 0.700"];
45
+ merge -> cmpsave [color="0.650 0.700 0.700"];
46
+ insert -> cmpa [color="0.650 0.700 0.700"];
47
+ wline -> flsbuf [color="0.649 0.700 0.700"];
48
+ qsort -> cmpa [color="0.650 0.700 0.700"];
49
+ rline -> filbuf [color="0.649 0.700 0.700"];
50
+ xflsbuf -> write [color="0.650 0.700 0.700"];
51
+ flsbuf -> xflsbuf [color="0.649 0.700 0.700"];
52
+ filbuf -> read [color="0.650 0.700 0.700"];
53
+ term -> unlink [color="0.650 0.700 0.700"];
54
+ term -> signal [color="0.650 0.700 0.700"];
55
+ term -> setfil [color="0.650 0.700 0.700"];
56
+ term -> exit [color="0.650 0.700 0.700"];
57
+ endopen -> open [color="0.650 0.700 0.700"];
58
+ fopen -> endopen [color="0.639 0.705 0.705"];
59
+ fopen -> findiop [color="0.650 0.700 0.700"];
60
+ newfile -> fopen [color="0.634 0.707 0.707"];
61
+ newfile -> setfil [color="0.650 0.700 0.700"];
62
+ fclose -> fflush [color="0.642 0.704 0.704"];
63
+ fclose -> close [color="0.650 0.700 0.700"];
64
+ fflush -> xflsbuf [color="0.635 0.707 0.707"];
65
+ malloc -> morecore [color="0.325 0.850 0.850"];
66
+ malloc -> demote [color="0.650 0.700 0.700"];
67
+ morecore -> sbrk [color="0.650 0.700 0.700"];
68
+ morecore -> getfreehdr [color="0.650 0.700 0.700"];
69
+ morecore -> free [color="0.650 0.700 0.700"];
70
+ morecore -> getpagesize [color="0.650 0.700 0.700"];
71
+ morecore -> putfreehdr [color="0.650 0.700 0.700"];
72
+ morecore -> udiv [color="0.650 0.700 0.700"];
73
+ morecore -> umul [color="0.650 0.700 0.700"];
74
+ on_exit -> malloc [color="0.325 0.850 0.850"];
75
+ signal -> sigvec [color="0.650 0.700 0.700"];
76
+ moncontrol -> profil [color="0.650 0.700 0.700"];
77
+ getfreehdr -> sbrk [color="0.650 0.700 0.700"];
78
+ free -> insert [color="0.650 0.700 0.700"];
79
+ insert -> getfreehdr [color="0.650 0.700 0.700"];
80
+ setfil -> div [color="0.650 0.700 0.700"];
81
+ setfil -> rem [color="0.650 0.700 0.700"];
82
+ sigvec -> sigblock [color="0.650 0.700 0.700"];
83
+ sigvec -> sigsetmask [color="0.650 0.700 0.700"];
84
+ doprnt -> urem [color="0.650 0.700 0.700"];
85
+ doprnt -> udiv [color="0.650 0.700 0.700"];
86
+ doprnt -> strlen [color="0.650 0.700 0.700"];
87
+ doprnt -> localeconv [color="0.650 0.700 0.700"];
88
+ sprintf -> doprnt [color="0.650 0.700 0.700"];
89
+ cmpa [color="0.000 1.000 1.000"];
90
+ wline [color="0.201 0.753 1.000"];
91
+ insert [color="0.305 0.625 1.000"];
92
+ rline [color="0.355 0.563 1.000"];
93
+ sort [color="0.408 0.498 1.000"];
94
+ qsort [color="0.449 0.447 1.000"];
95
+ write [color="0.499 0.386 1.000"];
96
+ read [color="0.578 0.289 1.000"];
97
+ msort [color="0.590 0.273 1.000"];
98
+ merge [color="0.603 0.258 1.000"];
99
+ unlink [color="0.628 0.227 1.000"];
100
+ filbuf [color="0.641 0.212 1.000"];
101
+ open [color="0.641 0.212 1.000"];
102
+ sbrk [color="0.647 0.204 1.000"];
103
+ signal [color="0.647 0.204 1.000"];
104
+ moncontrol [color="0.647 0.204 1.000"];
105
+ xflsbuf [color="0.650 0.200 1.000"];
106
+ flsbuf [color="0.650 0.200 1.000"];
107
+ div [color="0.650 0.200 1.000"];
108
+ cmpsave [color="0.650 0.200 1.000"];
109
+ rem [color="0.650 0.200 1.000"];
110
+ setfil [color="0.650 0.200 1.000"];
111
+ close [color="0.650 0.200 1.000"];
112
+ fclose [color="0.650 0.200 1.000"];
113
+ fflush [color="0.650 0.200 1.000"];
114
+ setbuf [color="0.650 0.200 1.000"];
115
+ endopen [color="0.650 0.200 1.000"];
116
+ findiop [color="0.650 0.200 1.000"];
117
+ fopen [color="0.650 0.200 1.000"];
118
+ mul [color="0.650 0.200 1.000"];
119
+ newfile [color="0.650 0.200 1.000"];
120
+ sigblock [color="0.650 0.200 1.000"];
121
+ sigsetmask [color="0.650 0.200 1.000"];
122
+ sigvec [color="0.650 0.200 1.000"];
123
+ udiv [color="0.650 0.200 1.000"];
124
+ urem [color="0.650 0.200 1.000"];
125
+ brk [color="0.650 0.200 1.000"];
126
+ getfreehdr [color="0.650 0.200 1.000"];
127
+ strlen [color="0.650 0.200 1.000"];
128
+ umul [color="0.650 0.200 1.000"];
129
+ doprnt [color="0.650 0.200 1.000"];
130
+ copyproto [color="0.650 0.200 1.000"];
131
+ creat [color="0.650 0.200 1.000"];
132
+ demote [color="0.650 0.200 1.000"];
133
+ exit [color="0.650 0.200 1.000"];
134
+ free [color="0.650 0.200 1.000"];
135
+ getpagesize [color="0.650 0.200 1.000"];
136
+ getpid [color="0.650 0.200 1.000"];
137
+ initree [color="0.650 0.200 1.000"];
138
+ insert [color="0.650 0.200 1.000"];
139
+ localeconv [color="0.650 0.200 1.000"];
140
+ main [color="0.650 0.200 1.000"];
141
+ malloc [color="0.650 0.200 1.000"];
142
+ morecore [color="0.650 0.200 1.000"];
143
+ oldfile [color="0.650 0.200 1.000"];
144
+ on_exit [color="0.650 0.200 1.000"];
145
+ profil [color="0.650 0.200 1.000"];
146
+ putfreehdr [color="0.650 0.200 1.000"];
147
+ safeoutfil [color="0.650 0.200 1.000"];
148
+ sprintf [color="0.650 0.200 1.000"];
149
+ term [color="0.650 0.200 1.000"];
150
+ }