Debian Codegraph @

tests/windows/ER.ps

raw
1 %!PS-Adobe-2.0
2 %%Creator: circo version 1.16 (Tue Sep 14 22:15:32 UTC 2004)
3 %%For: Bill Gates
4 %%Title: ER
5 %%Pages: (atend)
6 %%BoundingBox: 35 35 648 617
7 %%EndComments
8 save
9 %%BeginProlog
10 /DotDict 200 dict def
11 DotDict begin
12
13 /setupLatin1 {
14 mark
15 /EncodingVector 256 array def
16 EncodingVector 0
17
18 ISOLatin1Encoding 0 255 getinterval putinterval
19
20 EncodingVector
21 dup 306 /AE
22 dup 301 /Aacute
23 dup 302 /Acircumflex
24 dup 304 /Adieresis
25 dup 300 /Agrave
26 dup 305 /Aring
27 dup 303 /Atilde
28 dup 307 /Ccedilla
29 dup 311 /Eacute
30 dup 312 /Ecircumflex
31 dup 313 /Edieresis
32 dup 310 /Egrave
33 dup 315 /Iacute
34 dup 316 /Icircumflex
35 dup 317 /Idieresis
36 dup 314 /Igrave
37 dup 334 /Udieresis
38 dup 335 /Yacute
39 dup 376 /thorn
40 dup 337 /germandbls
41 dup 341 /aacute
42 dup 342 /acircumflex
43 dup 344 /adieresis
44 dup 346 /ae
45 dup 340 /agrave
46 dup 345 /aring
47 dup 347 /ccedilla
48 dup 351 /eacute
49 dup 352 /ecircumflex
50 dup 353 /edieresis
51 dup 350 /egrave
52 dup 355 /iacute
53 dup 356 /icircumflex
54 dup 357 /idieresis
55 dup 354 /igrave
56 dup 360 /dcroat
57 dup 361 /ntilde
58 dup 363 /oacute
59 dup 364 /ocircumflex
60 dup 366 /odieresis
61 dup 362 /ograve
62 dup 365 /otilde
63 dup 370 /oslash
64 dup 372 /uacute
65 dup 373 /ucircumflex
66 dup 374 /udieresis
67 dup 371 /ugrave
68 dup 375 /yacute
69 dup 377 /ydieresis
70
71 % Set up ISO Latin 1 character encoding
72 /starnetISO {
73 dup dup findfont dup length dict begin
74 { 1 index /FID ne { def }{ pop pop } ifelse
75 } forall
76 /Encoding EncodingVector def
77 currentdict end definefont
78 } def
79 /Times-Roman starnetISO def
80 /Times-Italic starnetISO def
81 /Times-Bold starnetISO def
82 /Times-BoldItalic starnetISO def
83 /Helvetica starnetISO def
84 /Helvetica-Oblique starnetISO def
85 /Helvetica-Bold starnetISO def
86 /Helvetica-BoldOblique starnetISO def
87 /Courier starnetISO def
88 /Courier-Oblique starnetISO def
89 /Courier-Bold starnetISO def
90 /Courier-BoldOblique starnetISO def
91 cleartomark
92 } bind def
93
94 %%BeginResource: procset graphviz 0 0
95 /coord-font-family /Times-Roman def
96 /default-font-family /Times-Roman def
97 /coordfont coord-font-family findfont 8 scalefont def
98
99 /InvScaleFactor 1.0 def
100 /set_scale {
101 dup 1 exch div /InvScaleFactor exch def
102 dup scale
103 } bind def
104
105 % styles
106 /solid { [] 0 setdash } bind def
107 /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def
108 /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def
109 /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def
110 /bold { 2 setlinewidth } bind def
111 /filled { } bind def
112 /unfilled { } bind def
113 /rounded { } bind def
114 /diagonals { } bind def
115
116 % hooks for setting color
117 /nodecolor { sethsbcolor } bind def
118 /edgecolor { sethsbcolor } bind def
119 /graphcolor { sethsbcolor } bind def
120 /nopcolor {pop pop pop} bind def
121
122 /beginpage { % i j npages
123 /npages exch def
124 /j exch def
125 /i exch def
126 /str 10 string def
127 npages 1 gt {
128 gsave
129 coordfont setfont
130 0 0 moveto
131 (\() show i str cvs show (,) show j str cvs show (\)) show
132 grestore
133 } if
134 } bind def
135
136 /set_font {
137 findfont exch
138 scalefont setfont
139 } def
140
141 % draw aligned label in bounding box aligned to current point
142 /alignedtext { % width adj text
143 /text exch def
144 /adj exch def
145 /width exch def
146 gsave
147 width 0 gt {
148 text stringwidth pop adj mul 0 rmoveto
149 } if
150 [] 0 setdash
151 text show
152 grestore
153 } def
154
155 /boxprim { % xcorner ycorner xsize ysize
156 4 2 roll
157 moveto
158 2 copy
159 exch 0 rlineto
160 0 exch rlineto
161 pop neg 0 rlineto
162 closepath
163 } bind def
164
165 /ellipse_path {
166 /ry exch def
167 /rx exch def
168 /y exch def
169 /x exch def
170 matrix currentmatrix
171 newpath
172 x y translate
173 rx ry scale
174 0 0 1 0 360 arc
175 setmatrix
176 } bind def
177
178 /endpage { showpage } bind def
179 /showpage { } def
180
181 /layercolorseq
182 [ % layer color sequence - darkest to lightest
183 [0 0 0]
184 [.2 .8 .8]
185 [.4 .8 .8]
186 [.6 .8 .8]
187 [.8 .8 .8]
188 ]
189 def
190
191 /layerlen layercolorseq length def
192
193 /setlayer {/maxlayer exch def /curlayer exch def
194 layercolorseq curlayer 1 sub layerlen mod get
195 aload pop sethsbcolor
196 /nodecolor {nopcolor} def
197 /edgecolor {nopcolor} def
198 /graphcolor {nopcolor} def
199 } bind def
200
201 /onlayer { curlayer ne {invis} if } def
202
203 /onlayers {
204 /myupper exch def
205 /mylower exch def
206 curlayer mylower lt
207 curlayer myupper gt
208 or
209 {invis} if
210 } def
211
212 /curlayer 0 def
213
214 %%EndResource
215 %%EndProlog
216 %%BeginSetup
217 14 default-font-family set_font
218 1 setmiterlimit
219 % /arrowlength 10 def
220 % /arrowwidth 5 def
221
222 % make sure pdfmark is harmless for PS-interpreters other than Distiller
223 /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse
224 % make '<<' and '>>' safe on PS Level 1 devices
225 /languagelevel where {pop languagelevel}{1} ifelse
226 2 lt {
227 userdict (<<) cvn ([) cvn load put
228 userdict (>>) cvn ([) cvn load put
229 } if
230
231 %%EndSetup
232 %%Page: 1 1
233 %%PageBoundingBox: 36 36 648 617
234 %%PageOrientation: Portrait
235 gsave
236 35 35 613 582 boxprim clip newpath
237 36 36 translate
238 0 0 1 beginpage
239 0 0 translate 0 rotate
240 0.000 0.000 0.000 graphcolor
241 14.00 /Times-Roman set_font
242 gsave 10 dict begin
243 20.00 /Times-Roman set_font
244 305 81 moveto 0.0 -0.5 () alignedtext
245 305 57 moveto 0.0 -0.5 () alignedtext
246 207 33 moveto
247 (Entity Relation Diagram)
248 [12.24 9.84 5.52 5.52 5.52 9.6 5.04 13.2 8.88 5.52 8.88 5.52 5.52 10.08 9.84 5.04 14.4 5.52 8.88 9.84 6.72 8.88 15.12]
249 xshow
250 232 9 moveto
251 (drawn by NEATO)
252 [10.08 6.72 8.88 13.92 9.84 5.04 10.08 9.6 5.04 14.4 12.24 12 12.24 14.4]
253 xshow
254 end grestore
255
256 % course
257 gsave 10 dict begin
258 newpath 161 260 moveto
259 107 260 lineto
260 107 224 lineto
261 161 224 lineto
262 closepath
263 stroke
264 gsave 10 dict begin
265 115 237 moveto
266 (course)
267 [6.24 6.96 6.72 4.56 5.52 6.24]
268 xshow
269 end grestore
270 end grestore
271
272 % C-I
273 gsave 10 dict begin
274 filled
275 0.000 0.000 0.827 nodecolor
276 0.000 0.000 0.827 nodecolor
277 newpath 68 382 moveto
278 36 358 lineto
279 68 334 lineto
280 100 358 lineto
281 closepath
282 fill
283 0.000 0.000 0.827 nodecolor
284 newpath 68 382 moveto
285 36 358 lineto
286 68 334 lineto
287 100 358 lineto
288 closepath
289 stroke
290 gsave 10 dict begin
291 0.000 0.000 0.000 nodecolor
292 58 353 moveto
293 (C-I)
294 [9.36 4.56 4.56]
295 xshow
296 end grestore
297 end grestore
298
299 % course -> C-I
300 newpath 123 260 moveto
301 108 287 93 314 78 341 curveto
302 stroke
303 gsave 10 dict begin
304 123 295 moveto 8.0 -0.5 (n) alignedtext
305 end grestore
306
307 % institute
308 gsave 10 dict begin
309 newpath 164 492 moveto
310 104 492 lineto
311 104 456 lineto
312 164 456 lineto
313 closepath
314 stroke
315 gsave 10 dict begin
316 111 469 moveto
317 (institute)
318 [3.6 6.72 5.52 3.84 3.6 3.84 6.72 3.84 6.24]
319 xshow
320 end grestore
321 end grestore
322
323 % name1
324 gsave 10 dict begin
325 84 561 28 18 ellipse_path
326 stroke
327 gsave 10 dict begin
328 68 556 moveto
329 (name)
330 [6.72 6.24 10.32 6.24]
331 xshow
332 end grestore
333 end grestore
334
335 % institute -> name1
336 newpath 124 492 moveto
337 114 509 104 527 94 544 curveto
338 stroke
339
340 % S-I
341 gsave 10 dict begin
342 filled
343 0.000 0.000 0.827 nodecolor
344 0.000 0.000 0.827 nodecolor
345 newpath 268 498 moveto
346 238 474 lineto
347 268 450 lineto
348 298 474 lineto
349 closepath
350 fill
351 0.000 0.000 0.827 nodecolor
352 newpath 268 498 moveto
353 238 474 lineto
354 268 450 lineto
355 298 474 lineto
356 closepath
357 stroke
358 gsave 10 dict begin
359 0.000 0.000 0.000 nodecolor
360 259 469 moveto
361 (S-I)
362 [7.68 4.56 4.56]
363 xshow
364 end grestore
365 end grestore
366
367 % institute -> S-I
368 newpath 164 474 moveto
369 189 474 213 474 238 474 curveto
370 stroke
371 gsave 10 dict begin
372 201 479 moveto 8.0 -0.5 (1) alignedtext
373 end grestore
374
375 % student
376 gsave 10 dict begin
377 newpath 362 376 moveto
378 306 376 lineto
379 306 340 lineto
380 362 340 lineto
381 closepath
382 stroke
383 gsave 10 dict begin
384 313 353 moveto
385 (student)
386 [5.52 3.84 6.72 6.96 6.24 6.72 3.84]
387 xshow
388 end grestore
389 end grestore
390
391 % name2
392 gsave 10 dict begin
393 558 226 28 18 ellipse_path
394 stroke
395 gsave 10 dict begin
396 542 221 moveto
397 (name)
398 [6.72 6.24 10.32 6.24]
399 xshow
400 end grestore
401 end grestore
402
403 % student -> name2
404 newpath 362 341 moveto
405 420 307 479 272 537 238 curveto
406 stroke
407
408 % grade
409 gsave 10 dict begin
410 582 352 28 18 ellipse_path
411 stroke
412 gsave 10 dict begin
413 566 347 moveto
414 (grade)
415 [6.72 4.56 6.24 6.96 6.24]
416 xshow
417 end grestore
418 end grestore
419
420 % student -> grade
421 newpath 362 357 moveto
422 426 356 490 354 554 353 curveto
423 stroke
424
425 % number
426 gsave 10 dict begin
427 560 484 34 18 ellipse_path
428 stroke
429 gsave 10 dict begin
430 538 479 moveto
431 (number)
432 [6.72 6.72 10.32 6.96 6.24 4.56]
433 xshow
434 end grestore
435 end grestore
436
437 % student -> number
438 newpath 362 374 moveto
439 420 407 478 438 536 471 curveto
440 stroke
441
442 % S-C
443 gsave 10 dict begin
444 filled
445 0.000 0.000 0.827 nodecolor
446 0.000 0.000 0.827 nodecolor
447 newpath 268 266 moveto
448 234 242 lineto
449 268 218 lineto
450 302 242 lineto
451 closepath
452 fill
453 0.000 0.000 0.827 nodecolor
454 newpath 268 266 moveto
455 234 242 lineto
456 268 218 lineto
457 302 242 lineto
458 closepath
459 stroke
460 gsave 10 dict begin
461 0.000 0.000 0.000 nodecolor
462 257 237 moveto
463 (S-C)
464 [7.68 4.56 9.36]
465 xshow
466 end grestore
467 end grestore
468
469 % student -> S-C
470 newpath 323 340 moveto
471 308 313 293 286 278 259 curveto
472 stroke
473 gsave 10 dict begin
474 323 295 moveto 12.0 -0.5 (m) alignedtext
475 end grestore
476
477 % name0
478 gsave 10 dict begin
479 29 185 28 18 ellipse_path
480 stroke
481 gsave 10 dict begin
482 13 180 moveto
483 (name)
484 [6.72 6.24 10.32 6.24]
485 xshow
486 end grestore
487 end grestore
488
489 % name0 -> course
490 newpath 51 197 moveto
491 69 207 88 217 107 227 curveto
492 stroke
493
494 % code
495 gsave 10 dict begin
496 139 123 27 18 ellipse_path
497 stroke
498 gsave 10 dict begin
499 125 118 moveto
500 (code)
501 [6.24 6.96 6.96 6.24]
502 xshow
503 end grestore
504 end grestore
505
506 % code -> course
507 newpath 138 141 moveto
508 137 169 136 197 135 224 curveto
509 stroke
510
511 % C-I -> institute
512 newpath 78 375 moveto
513 93 402 108 429 123 456 curveto
514 stroke
515 gsave 10 dict begin
516 123 411 moveto 8.0 -0.5 (1) alignedtext
517 end grestore
518
519 % S-C -> course
520 newpath 234 242 moveto
521 210 242 186 242 161 242 curveto
522 stroke
523 gsave 10 dict begin
524 201 247 moveto 8.0 -0.5 (n) alignedtext
525 end grestore
526
527 % S-I -> student
528 newpath 278 457 moveto
529 293 430 308 403 324 376 curveto
530 stroke
531 gsave 10 dict begin
532 323 411 moveto 8.0 -0.5 (n) alignedtext
533 end grestore
534 endpage
535 showpage
536 grestore
537 %%PageTrailer
538 %%EndPage: 1
539 %%Trailer
540 %%Pages: 1
541 end
542 restore
543 %%EOF