example-fig.ps
13.8 KB
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
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
%!PS-Adobe-2.0
%%Creator: dotneato version 1.6 (Sat Aug 5 11:20:22 CDT 2000)
%%For: (connolly)
%%Title: N254
%%Pages: (atend)
%%BoundingBox: 36 36 763 1010
%%EndComments
%%BeginProlog
save
/DotDict 200 dict def
DotDict begin
%%BeginResource: procset
/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
dup scale
} bind def
% styles
/solid { } 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
% 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 aligned label in bounding box aligned to current point
% alignfactor tells what fraction to place on the left.
% -.5 is centered.
/alignedtext { % text labelwidth fontsz alignfactor
/alignfactor exch def
/fontsz exch def
/width exch def
/text exch def
gsave
% even if node or edge is dashed, don't paint text with dashes
[] 0 setdash
currentpoint newpath moveto
text stringwidth pop
alignfactor mul fontsz -.3 mul rmoveto
text show
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
/layercolorseq
[ % layer color sequence - darkest to lightest
[0 0 0]
[.2 .8 .8]
[.4 .8 .8]
[.6 .8 .8]
[.8 .8 .8]
]
def
/setlayer {/maxlayer exch def /curlayer exch def
layercolorseq curlayer 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
1 setmiterlimit
% /arrowlength 10 def
% /arrowwidth 5 def
%%EndSetup
%%Page: 1 1
%%PageBoundingBox: 36 36 763 1010
%%PageOrientation: Portrait
gsave
35 35 728 975 boxprim clip newpath
36 36 translate
0 0 1 beginpage
0 0 translate 0 rotate
0.000 0.000 0.000 graphcolor
14.00 /Times-Roman set_font
gsave 10 dict begin
363 25 moveto (Example Scenario) 102 14.00 -0.50 alignedtext
363 9 moveto ($Id: example-fig.ps,v 1.2 2001/05/23 19:51:58 connolly Exp $) 311 14.00 -0.50 alignedtext
end grestore
% example-fig.n3
gsave 10 dict begin
gsave 10 dict begin
634 821 moveto (Joe Example) 71 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.aol.com/members/wendycook/
gsave 10 dict begin
gsave 10 dict begin
44 537 moveto (Wendy Cook) 74 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/mikecook/
gsave 10 dict begin
gsave 10 dict begin
313 537 moveto (Mike Cook) 63 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.aol.com/members/wendycook/ -> http://www.avondale.edu/students/mikecook/
newpath 88 536 moveto
137 536 214 536 264 536 curveto
stroke
newpath 264 534 moveto
274 536 lineto
264 539 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
145 545 moveto (is parent of) 62 14.00 -0.50 alignedtext
end grestore
% http://www.cooks-r-us.org/people/fiona/
gsave 10 dict begin
gsave 10 dict begin
313 105 moveto (Fiona Cook) 65 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.aol.com/members/wendycook/ -> http://www.cooks-r-us.org/people/fiona/
newpath 49 518 moveto
69 453 137 232 202 128 curveto
213 112 238 106 263 105 curveto
stroke
newpath 263 103 moveto
273 104 lineto
263 107 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
145 357 moveto (is parent of) 62 14.00 -0.50 alignedtext
end grestore
% mailto:greg@cooks-r-us.org
gsave 10 dict begin
gsave 10 dict begin
313 51 moveto (Greg Cook) 61 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.aol.com/members/wendycook/ -> mailto:greg@cooks-r-us.org
newpath 45 518 moveto
51 456 71 248 106 143 curveto
123 95 212 69 267 58 curveto
stroke
newpath 265 56 moveto
275 56 lineto
266 61 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
145 152 moveto (is parent of) 62 14.00 -0.50 alignedtext
end grestore
% http://www.johannesburg.za/
gsave 10 dict begin
634 613 91 18 ellipse_path
stroke
gsave 10 dict begin
634 614 moveto (http://www.johannesburg.za/) 162 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.aol.com/members/wendycook/ -> http://www.johannesburg.za/
newpath 88 552 moveto
98 556 106 559 106 559 curveto
226 574 428 593 544 604 curveto
stroke
newpath 541 601 moveto
551 605 lineto
541 606 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
313 602 moveto (lives in) 40 14.00 -0.50 alignedtext
end grestore
% http://www.bobstacyrobotics.com/
gsave 10 dict begin
newpath 313 660 moveto
202 642 lineto
313 624 lineto
424 642 lineto
closepath
stroke
gsave 10 dict begin
313 643 moveto (Bob Stacy Robotics Inc.) 136 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.aol.com/members/wendycook/ -> http://www.bobstacyrobotics.com/
newpath 55 554 moveto
67 573 88 599 106 607 curveto
140 619 191 629 235 634 curveto
stroke
newpath 234 631 moveto
244 635 lineto
234 636 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
145 632 moveto (works for) 53 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/
gsave 10 dict begin
634 347 83 18 ellipse_path
stroke
gsave 10 dict begin
634 348 moveto (http://www.avondale.edu/) 145 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/mikecook/ -> http://www.avondale.edu/
newpath 352 530 moveto
401 522 485 505 524 474 curveto
555 451 593 401 616 371 curveto
stroke
newpath 613 371 moveto
621 365 lineto
617 374 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 519 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.bobstacyrobotics.com/ -> example-fig.n3
newpath 345 655 moveto
391 674 477 711 524 738 curveto
547 751 581 776 604 796 curveto
stroke
newpath 606 794 moveto
612 802 lineto
603 798 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 747 moveto (is client of) 59 14.00 -0.50 alignedtext
end grestore
% http://www.bobstacyrobotics.com/ -> http://www.johannesburg.za/
newpath 385 636 moveto
431 631 490 626 540 622 curveto
stroke
newpath 541 619 moveto
551 621 lineto
541 624 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 639 moveto (has location) 67 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/students/benwright/
gsave 10 dict begin
gsave 10 dict begin
313 483 moveto (Ben Wright) 65 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/benwright/ -> http://www.avondale.edu/
newpath 353 475 moveto
401 466 481 449 524 426 curveto
547 413 581 389 604 370 curveto
stroke
newpath 603 368 moveto
612 364 lineto
606 372 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 460 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/students/dorannahatsuda/
gsave 10 dict begin
gsave 10 dict begin
313 429 moveto (Doranna Hatsuda) 97 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/dorannahatsuda/ -> http://www.avondale.edu/
newpath 369 418 moveto
416 409 483 396 524 386 curveto
531 384 558 374 583 366 curveto
stroke
newpath 581 364 moveto
591 363 lineto
583 369 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 412 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/students/hiteshpatel/
gsave 10 dict begin
gsave 10 dict begin
313 375 moveto (Hitesh Patel) 68 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/hiteshpatel/ -> http://www.avondale.edu/
newpath 354 371 moveto
403 366 485 360 547 354 curveto
stroke
newpath 546 352 moveto
556 353 lineto
546 357 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 372 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/students/janechang/
gsave 10 dict begin
gsave 10 dict begin
313 321 moveto (Jane Chang) 64 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/janechang/ -> http://www.avondale.edu/
newpath 353 322 moveto
400 325 478 329 524 333 curveto
533 334 544 335 557 336 curveto
stroke
newpath 554 333 moveto
564 337 lineto
554 338 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 342 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/students/kangethegikonyo/
gsave 10 dict begin
gsave 10 dict begin
313 267 moveto (Kangethe Gikonyo) 105 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/kangethegikonyo/ -> http://www.avondale.edu/
newpath 373 275 moveto
420 283 484 294 524 304 curveto
542 308 567 318 589 327 curveto
stroke
newpath 590 325 moveto
598 331 lineto
588 329 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 313 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/students/matiupotiki/
gsave 10 dict begin
gsave 10 dict begin
313 213 moveto (Matiu Potiki) 70 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/matiupotiki/ -> http://www.avondale.edu/
newpath 356 219 moveto
404 227 482 243 524 265 curveto
548 278 582 304 606 323 curveto
stroke
newpath 607 321 moveto
613 329 lineto
604 324 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 274 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.avondale.edu/students/simonbrown/
gsave 10 dict begin
gsave 10 dict begin
313 159 moveto (Simon Brown) 78 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.avondale.edu/students/simonbrown/ -> http://www.avondale.edu/
newpath 359 163 moveto
409 169 487 184 524 213 curveto
556 237 595 291 618 323 curveto
stroke
newpath 619 319 moveto
622 329 lineto
614 322 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 222 moveto (is student at) 66 14.00 -0.50 alignedtext
end grestore
% http://www.anrdoids-r-us.com/
gsave 10 dict begin
newpath 313 757 moveto
209 739 lineto
313 721 lineto
417 739 lineto
closepath
stroke
gsave 10 dict begin
313 740 moveto (Stauffer Androids Ltd.) 126 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.anrdoids-r-us.com/ -> example-fig.n3
newpath 369 747 moveto
416 755 483 766 524 777 curveto
542 782 566 790 588 799 curveto
stroke
newpath 586 795 moveto
594 802 lineto
584 800 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 786 moveto (is client of) 59 14.00 -0.50 alignedtext
end grestore
% http://www.automata-r-us.com/
gsave 10 dict begin
newpath 313 973 moveto
204 955 lineto
313 937 lineto
422 955 lineto
closepath
stroke
gsave 10 dict begin
313 956 moveto (McGarry Automata Inc.) 134 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.automata-r-us.com/ -> example-fig.n3
newpath 366 946 moveto
415 936 485 920 524 899 curveto
546 886 580 862 603 844 curveto
stroke
newpath 602 842 moveto
611 838 lineto
605 846 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 933 moveto (is client of) 59 14.00 -0.50 alignedtext
end grestore
% http://www.cybernetics-megastore.com/
gsave 10 dict begin
newpath 313 919 moveto
217 901 lineto
313 883 lineto
409 901 lineto
closepath
stroke
gsave 10 dict begin
313 902 moveto (Yourish Cybernetics) 115 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.cybernetics-megastore.com/ -> example-fig.n3
newpath 362 892 moveto
410 883 481 870 524 859 curveto
531 857 557 848 583 839 curveto
stroke
newpath 581 837 moveto
591 836 lineto
583 842 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 885 moveto (is client of) 59 14.00 -0.50 alignedtext
end grestore
% http://www.fryer-mechanicals.com/
gsave 10 dict begin
newpath 313 865 moveto
225 847 lineto
313 829 lineto
401 847 lineto
closepath
stroke
gsave 10 dict begin
313 848 moveto (Fryer Mechanicals) 104 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.fryer-mechanicals.com/ -> example-fig.n3
newpath 376 842 moveto
436 837 527 829 583 825 curveto
stroke
newpath 581 823 moveto
591 824 lineto
581 828 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 845 moveto (is client of) 59 14.00 -0.50 alignedtext
end grestore
% http://www.maries-ai-shoppe.com/
gsave 10 dict begin
newpath 313 811 moveto
223 793 lineto
313 775 lineto
403 793 lineto
closepath
stroke
gsave 10 dict begin
313 794 moveto (desJardins A.I. Co.) 106 14.00 -0.50 alignedtext
end grestore
end grestore
% http://www.maries-ai-shoppe.com/ -> example-fig.n3
newpath 384 797 moveto
430 799 487 803 524 806 curveto
540 807 564 810 584 813 curveto
stroke
newpath 581 810 moveto
591 814 lineto
581 815 lineto
closepath
gsave 0 setgray stroke grestore fill
gsave 10 dict begin
483 815 moveto (is client of) 59 14.00 -0.50 alignedtext
end grestore
endpage
grestore
%%PageTrailer
%%EndPage: 1
%%Trailer
%%Pages: 1
end
restore
%%EOF