plan/test.ps
author saiam
Wed, 05 Nov 2008 21:22:15 +0000
changeset 11 75d873305ef3
parent 7 61ac44ae0fe6
child 17 9eaf15ab8267
permissions -rw-r--r--
Fixed diagram (it's sooo cool) :P
%!PS-Adobe-3.0 EPSF-3.0
%%Creator: Graphviz version 2.20.2 (Sun Oct 12 21:27:53 UTC 2008)
%%For: (saiam) Atle Kivela,,,
%%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

% 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
1 setmiterlimit
% /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 336 392
%%PageOrientation: Portrait
0 0 1 beginpage
gsave
36 36 300 356 boxprim clip newpath
1 1 set_scale 0 rotate 40 40 translate
% cluster0
gsave
1 setlinewidth
0.000 0.000 0.000 graphcolor
newpath 57 16 moveto
57 147 lineto
145 147 lineto
145 16 lineto
closepath stroke
0.000 0.000 0.000 graphcolor
14 /Times-Roman set_font
77 130.9 moveto 48 (Network) alignedtext
grestore
% cluster1
gsave
1 setlinewidth
0.000 0.000 0.000 graphcolor
newpath 32 155 moveto
32 340 lineto
170 340 lineto
170 155 lineto
closepath stroke
0.000 0.000 0.000 graphcolor
14 /Times-Roman set_font
64 323.9 moveto 74 (Game Engine) alignedtext
grestore
% gs
gsave
1 setlinewidth
0.000 0.000 0.000 nodecolor
101 181 55.79 18 ellipse_path stroke
0.000 0.000 0.000 nodecolor
14 /Times-Roman set_font
68.5 176.9 moveto 65 (Game State) alignedtext
grestore
% client
gsave
1 setlinewidth
0.000 0.000 0.000 nodecolor
101 96 32.86 18 ellipse_path stroke
0.000 0.000 0.000 nodecolor
14 /Times-Roman set_font
85 91.9 moveto 32 (Client) alignedtext
grestore
% physics
gsave
1 setlinewidth
0.000 0.000 0.000 nodecolor
101 235 41.19 18 ellipse_path stroke
0.000 0.000 0.000 nodecolor
14 /Times-Roman set_font
79 230.9 moveto 44 (Physics) alignedtext
grestore
% gs->physics
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 101 199 moveto
101 202 101 204 101 207 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 97.5 207 moveto
101 217 lineto
104.5 207 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 97.5 207 moveto
101 217 lineto
104.5 207 lineto
closepath stroke
grestore
% server
gsave
1 setlinewidth
0.000 0.000 0.000 nodecolor
101 42 36.13 18 ellipse_path stroke
0.000 0.000 0.000 nodecolor
14 /Times-Roman set_font
83 37.9 moveto 36 (Server) alignedtext
grestore
% client->server
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 122 82 moveto
127 76 129 71 128 66 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 130.46 63.38 moveto
122 57 lineto
124.63 67.26 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 130.46 63.38 moveto
122 57 lineto
124.63 67.26 lineto
closepath stroke
grestore
% server->gs
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 66 47 moveto
47 51 25 60 14 78 curveto
0 103 0 118 14 142 curveto
21 153 33 161 45 167 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 43.44 170.14 moveto
54 171 lineto
46.28 163.74 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 43.44 170.14 moveto
54 171 lineto
46.28 163.74 lineto
closepath stroke
grestore
% server->client
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 80 57 moveto
75 62 73 68 75 73 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 72.08 74.96 moveto
80 82 lineto
78.2 71.56 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 72.08 74.96 moveto
80 82 lineto
78.2 71.56 lineto
closepath stroke
grestore
% interpolation
gsave
1 setlinewidth
0.000 0.000 0.000 nodecolor
101 289 59.96 18 ellipse_path stroke
0.000 0.000 0.000 nodecolor
14 /Times-Roman set_font
65.5 284.9 moveto 71 (Interpolation) alignedtext
grestore
% graphics
gsave
1 setlinewidth
0.000 0.000 0.000 nodecolor
245 289 46.06 18 ellipse_path stroke
0.000 0.000 0.000 nodecolor
14 /Times-Roman set_font
219.5 284.9 moveto 51 (Graphics) alignedtext
grestore
% interpolation->graphics
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 162 289 moveto
170 289 179 289 188 289 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 188 292.5 moveto
198 289 lineto
188 285.5 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 188 292.5 moveto
198 289 lineto
188 285.5 lineto
closepath stroke
grestore
% physics->interpolation
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 101 253 moveto
101 256 101 258 101 261 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 97.5 261 moveto
101 271 lineto
104.5 261 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 97.5 261 moveto
101 271 lineto
104.5 261 lineto
closepath stroke
grestore
% input
gsave
1 setlinewidth
0.000 0.000 0.000 nodecolor
245 166 30.07 18 ellipse_path stroke
0.000 0.000 0.000 nodecolor
14 /Times-Roman set_font
231 161.9 moveto 28 (input) alignedtext
grestore
% input->client
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 221 154 moveto
198 143 162 125 135 112 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 136.56 108.86 moveto
126 108 lineto
133.72 115.26 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 136.56 108.86 moveto
126 108 lineto
133.72 115.26 lineto
closepath stroke
grestore
% input->interpolation
gsave
1 setlinewidth
0.000 0.000 0.000 edgecolor
newpath 235 183 moveto
223 205 199 240 170 262 curveto
165 266 159 269 153 272 curveto
stroke
0.000 0.000 0.000 edgecolor
newpath 151.72 268.74 moveto
144 276 lineto
154.56 275.14 lineto
closepath fill
1 setlinewidth
solid
0.000 0.000 0.000 edgecolor
newpath 151.72 268.74 moveto
144 276 lineto
154.56 275.14 lineto
closepath stroke
grestore
endpage
showpage
grestore
%%PageTrailer
%%EndPage: 1
%%Trailer
%%Pages: 1
%%BoundingBox: 36 36 336 392
end
restore
%%EOF