-
Notifications
You must be signed in to change notification settings - Fork 0
/
show.ps
350 lines (328 loc) · 7.01 KB
/
show.ps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
%!PS-Adobe-3.0
%%Creator: graphviz version 2.43.0 (0)
%%Title: g
%%Pages: (atend)
%%BoundingBox: (atend)
%%EndComments
save
%%BeginProlog
/DotDict 200 dict def
DotDict begin
/setupLatin1 {
mark
/EncodingVector 256 array def
EncodingVector 0
ISOLatin1Encoding 0 255 getinterval putinterval
EncodingVector 45 /hyphen put
% Set up ISO Latin 1 character encoding
/starnetISO {
dup dup findfont dup length dict begin
{ 1 index /FID ne { def }{ pop pop } ifelse
} forall
/Encoding EncodingVector def
currentdict end definefont
} def
/Times-Roman starnetISO def
/Times-Italic starnetISO def
/Times-Bold starnetISO def
/Times-BoldItalic starnetISO def
/Helvetica starnetISO def
/Helvetica-Oblique starnetISO def
/Helvetica-Bold starnetISO def
/Helvetica-BoldOblique starnetISO def
/Courier starnetISO def
/Courier-Oblique starnetISO def
/Courier-Bold starnetISO def
/Courier-BoldOblique starnetISO def
cleartomark
} bind def
%%BeginResource: procset graphviz 0 0
/coord-font-family /Times-Roman def
/default-font-family /Times-Roman def
/coordfont coord-font-family findfont 8 scalefont def
/InvScaleFactor 1.0 def
/set_scale {
dup 1 exch div /InvScaleFactor exch def
scale
} bind def
% styles
/solid { [] 0 setdash } bind def
/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def
/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def
/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def
/bold { 2 setlinewidth } bind def
/filled { } bind def
/unfilled { } bind def
/rounded { } bind def
/diagonals { } bind def
/tapered { } bind def
% hooks for setting color
/nodecolor { sethsbcolor } bind def
/edgecolor { sethsbcolor } bind def
/graphcolor { sethsbcolor } bind def
/nopcolor {pop pop pop} bind def
/beginpage { % i j npages
/npages exch def
/j exch def
/i exch def
/str 10 string def
npages 1 gt {
gsave
coordfont setfont
0 0 moveto
(\() show i str cvs show (,) show j str cvs show (\)) show
grestore
} if
} bind def
/set_font {
findfont exch
scalefont setfont
} def
% draw text fitted to its expected width
/alignedtext { % width text
/text exch def
/width exch def
gsave
width 0 gt {
[] 0 setdash
text stringwidth pop width exch sub text length div 0 text ashow
} if
grestore
} def
/boxprim { % xcorner ycorner xsize ysize
4 2 roll
moveto
2 copy
exch 0 rlineto
0 exch rlineto
pop neg 0 rlineto
closepath
} bind def
/ellipse_path {
/ry exch def
/rx exch def
/y exch def
/x exch def
matrix currentmatrix
newpath
x y translate
rx ry scale
0 0 1 0 360 arc
setmatrix
} bind def
/endpage { showpage } bind def
/showpage { } def
/layercolorseq
[ % layer color sequence - darkest to lightest
[0 0 0]
[.2 .8 .8]
[.4 .8 .8]
[.6 .8 .8]
[.8 .8 .8]
]
def
/layerlen layercolorseq length def
/setlayer {/maxlayer exch def /curlayer exch def
layercolorseq curlayer 1 sub layerlen mod get
aload pop sethsbcolor
/nodecolor {nopcolor} def
/edgecolor {nopcolor} def
/graphcolor {nopcolor} def
} bind def
/onlayer { curlayer ne {invis} if } def
/onlayers {
/myupper exch def
/mylower exch def
curlayer mylower lt
curlayer myupper gt
or
{invis} if
} def
/curlayer 0 def
%%EndResource
%%EndProlog
%%BeginSetup
14 default-font-family set_font
% /arrowlength 10 def
% /arrowwidth 5 def
% make sure pdfmark is harmless for PS-interpreters other than Distiller
/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse
% make '<<' and '>>' safe on PS Level 1 devices
/languagelevel where {pop languagelevel}{1} ifelse
2 lt {
userdict (<<) cvn ([) cvn load put
userdict (>>) cvn ([) cvn load put
} if
%%EndSetup
setupLatin1
%%Page: 1 1
%%PageBoundingBox: 36 36 522 296
%%PageOrientation: Portrait
0 0 1 beginpage
gsave
36 36 486 260 boxprim clip newpath
1 1 set_scale 0 rotate 40 40 translate
% Init
gsave
1 setlinewidth
0 0 0 nodecolor
165.496 234 27 18 ellipse_path stroke
0 0 0 nodecolor
14 /Times-Roman set_font
152.996 230.3 moveto 25 (Init) alignedtext
grestore
% Explo
gsave
1 setlinewidth
0 0 0 nodecolor
165.496 162 37.0935 18 ellipse_path stroke
0 0 0 nodecolor
14 /Times-Roman set_font
144.996 158.3 moveto 41 (Explo) alignedtext
grestore
% Init--Explo
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 165.496 215.6966 moveto
165.496 204.8463 165.496 190.9167 165.496 180.1043 curveto
stroke
grestore
% Boop
gsave
1 setlinewidth
0 0 0 nodecolor
94.496 90 34.394 18 ellipse_path stroke
0 0 0 nodecolor
14 /Times-Roman set_font
75.996 86.3 moveto 37 (Boop) alignedtext
grestore
% Booped
gsave
1 setlinewidth
0 0 0 nodecolor
45.496 18 45.4919 18 ellipse_path stroke
0 0 0 nodecolor
14 /Times-Roman set_font
18.496 14.3 moveto 54 (Booped) alignedtext
grestore
% Boop--Booped
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 83.1312 72.7646 moveto
75.3282 61.6175 65.0015 46.865 57.1393 35.6334 curveto
stroke
grestore
% Booped--Explo
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 41.861 36.0596 moveto
38.7673 55.2992 36.8618 86.6762 51.496 108 curveto
69.7126 134.5437 104.7824 148.0946 131.2373 154.813 curveto
stroke
grestore
% ShareMap
gsave
1 setlinewidth
0 0 0 nodecolor
260.496 90 58.4896 18 ellipse_path stroke
0 0 0 nodecolor
14 /Times-Roman set_font
223.496 86.3 moveto 74 (ShareMap) alignedtext
grestore
% R_MAP
gsave
1 setlinewidth
0 0 0 nodecolor
165.496 18 44.393 18 ellipse_path stroke
0 0 0 nodecolor
14 /Times-Roman set_font
139.496 14.3 moveto 52 (R_MAP) alignedtext
grestore
% ShareMap--R_MAP
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 238.939 73.1159 moveto
223.0632 61.418 201.61 45.6103 185.9908 34.1014 curveto
stroke
grestore
% R_MAP--Explo
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 170.0869 36.1893 moveto
172.9678 63.5205 172.9657 116.5784 170.0805 143.8715 curveto
stroke
grestore
% Explo--Boop
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 149.7388 145.4647 moveto
137.9729 133.8645 121.9644 118.0816 110.2091 106.4918 curveto
stroke
grestore
% Explo--ShareMap
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 185.18 146.496 moveto
200.8322 134.9628 222.7061 118.8452 238.8499 106.9498 curveto
stroke
grestore
% Explo--R_MAP
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 160.9115 143.8715 moveto
158.0263 116.5784 158.0241 63.5205 160.9051 36.1893 curveto
stroke
grestore
% Explo--Explo
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 191.8323 174.807 moveto
206.7401 177.3081 220.5427 173.0391 220.5427 162 curveto
220.5427 150.9609 206.7401 146.6919 191.8323 149.193 curveto
stroke
grestore
% ComputeColl
gsave
1 setlinewidth
0 0 0 nodecolor
407.496 90 70.6878 18 ellipse_path stroke
0 0 0 nodecolor
14 /Times-Roman set_font
360.996 86.3 moveto 93 (ComputeColl) alignedtext
grestore
% Explo--ComputeColl
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 195.2681 150.9707 moveto
236.3315 138.4198 310.494 116.9299 359.4333 103.371 curveto
stroke
grestore
% ComputeColl--Explo
gsave
1 setlinewidth
0 0 0 edgecolor
newpath 365.6387 104.6941 moveto
317.9037 119.0714 241.1022 141.1911 197.7504 152.9701 curveto
stroke
grestore
endpage
showpage
grestore
%%PageTrailer
%%EndPage: 1
%%Trailer
%%Pages: 1
%%BoundingBox: 36 36 522 296
end
restore
%%EOF