Debian Codegraph @

texmf-dist/tex/latex/tikz-bpmn/tikzlibrarybpmn.code.tex

raw
1 \NeedsTeXFormat{LaTeX2e}
2 \ProvidesPackage{tikz-bpmn}[2011/08/16 BPMN diagrams using the
3 Tikz library]
4
5 \RequirePackage{xcolor}
6 \RequirePackage{tikz}
7 \RequirePackage{bm}
8
9 %this can be overridden to set the background colour, necessary for drawing double lines and other things.
10 \colorlet{defaultbackgroundcolour}{white}
11
12 \usetikzlibrary{shapes,shapes.geometric}
13 \usetikzlibrary{arrows}
14 \usetikzlibrary{calc}
15
16 \tikzstyle{every task} = []
17 \tikzstyle{every gateway} = []
18 \tikzstyle{every sequence} = []
19 \tikzstyle{every message} = []
20 \tikzstyle{every association} = []
21 \tikzstyle{every event} = []
22 \tikzstyle{every intermediate event} = []
23 \tikzstyle{every token} = []
24 \tikzstyle{every call activity} = []
25
26 \tikzstyle{task} = [rectangle, draw, minimum width=4em, minimum height=2em,rounded corners,align=center,every task]
27
28 \tikzstyle{sequence} = [->,>=triangle 45,every sequence]
29 \tikzstyle{reverse sequence} = [sequence,<-]
30 \tikzstyle{message} = [o->,dashed,>=open triangle 45,every sequence]
31 \tikzstyle{reverse message} = [message,<-o]
32 \tikzstyle{association} = [densely dotted,>=angle 45,every association]
33 \tikzstyle{event} = [circle,minimum width=1.5em, minimum height=1.5em,draw,every event]
34 \tikzstyle{end event} = [event,ultra thick,every event]
35 \tikzstyle{intermediate event}[defaultbackgroundcolour] = [event,double=#1,every event, every intermediate event]
36 \tikzstyle{token} = [solid,circle,fill,inner sep=0.5mm]
37 \tikzstyle{open token} = [solid,circle,draw,fill=red,inner sep=0.5mm,thick]
38
39 \tikzset{fit margins/.style={/tikz/afit/.cd,#1,
40 /tikz/.cd,
41 inner xsep=\pgfkeysvalueof{/tikz/afit/left}+\pgfkeysvalueof{/tikz/afit/right},
42 inner ysep=\pgfkeysvalueof{/tikz/afit/top}+\pgfkeysvalueof{/tikz/afit/bottom},
43 xshift=-\pgfkeysvalueof{/tikz/afit/left}+\pgfkeysvalueof{/tikz/afit/right},
44 yshift=-\pgfkeysvalueof{/tikz/afit/bottom}+\pgfkeysvalueof{/tikz/afit/top}},
45 afit/.cd,left/.initial=2pt,right/.initial=2pt,bottom/.initial=2pt,top/.initial=2pt}
46
47 \tikzstyle{text annotation} = [
48 font=\tiny,
49 path picture = {
50 \def\w{3mm}
51 \draw ($(path picture bounding box.north west)+(\w,0)$) to (path picture bounding box.north west) to (path picture bounding box.south west) to ($(path picture bounding box.south west)+(\w,0)$);
52 }
53 ]
54
55 %%%%% gateways %%%%%
56
57 \tikzstyle{gateway} = [
58 diamond,
59 draw,
60 inner sep=0pt,
61 minimum width=1.5em,
62 minimum height=1.5em,
63 align=center,
64 every gateway
65 ]
66
67 \tikzstyle{and gateway} = [parallel gateway]
68 \tikzstyle{parallel gateway} = [
69 gateway,
70 label=center:\Large +
71 ]
72
73 \tikzstyle{xor gateway} = [exclusive gateway]
74 \tikzstyle{exclusive gateway} = [
75 gateway,
76 label=center:\Large\texttimes
77 ]
78
79 \tikzstyle{or gateway} = [inclusive gateway]
80 \tikzstyle{inclusive gateway} = [
81 gateway,
82 path picture = {
83 \pgfpointdiff{\pgfpointanchor{path picture bounding box}{south east}}{\pgfpointanchor{path picture bounding box}{north east}}
84 \pgfmathsetmacro\d{\csname pgf@y\endcsname}
85 \node [draw, thick, circle, inner sep=0, minimum size=0.55*\d pt, anchor=center] at (path picture bounding box.center) {};
86 }
87 ]
88
89 \tikzstyle{eventbased gateway} = [
90 gateway,
91 path picture = {
92 \pgfpointdiff{\pgfpointanchor{path picture bounding box}{south east}}{\pgfpointanchor{path picture bounding box}{north east}}
93 \pgfmathsetmacro\d{\csname pgf@y\endcsname}
94 \node [draw, thin, circle, inner sep=0, minimum size=0.6*\d pt, anchor=center] at (path picture bounding box.center) {};
95 \node [draw, thin, circle, inner sep=0, minimum size=0.5*\d pt, anchor=center] at (path picture bounding box.center) {};
96 \node [draw, thin, regular polygon, regular polygon sides=5, inner sep=0, minimum size=0.35*\d pt, anchor=center] at (path picture bounding box.center) {};
97 }
98 ]
99
100 %%%%% empty events %%%%%
101
102 \tikzstyle{start event} = [event]
103 \tikzstyle{none start event} = [start event]
104
105 %%%%% message events %%%%%
106
107 \tikzstyle{message start event} = [
108 start event,
109 draw message
110 ]
111
112 \tikzstyle{catching message intermediate event}[defaultbackgroundcolour] = [
113 draw message,
114 intermediate event=#1
115 ]
116
117 \tikzstyle{throwing message event}[defaultbackgroundcolour] = [
118 path picture = {
119 \def\w{1.7mm}
120 \def\h{1.1mm}
121 \fill ($(path picture bounding box)+(\w,\h)$) rectangle ($(path picture bounding box)+(-\w,-\h)$);
122 \draw [#1, line cap=round, thin] ($(path picture bounding box)+(\w,\h)$) to (path picture bounding box.center);
123 \draw [#1, line cap=round, thin] ($(path picture bounding box)+(-\w,\h)$) to (path picture bounding box.center);
124 }
125 ]
126
127 \tikzstyle{throwing message intermediate event}[defaultbackgroundcolour] = [
128 draw filled message={#1},
129 intermediate event=#1
130 ]
131
132 \tikzstyle{message end event}[defaultbackgroundcolour] = [
133 end event,
134 draw filled message={#1}
135 ]
136
137 \tikzstyle{terminate event} = [
138 end event,
139 path picture = {
140 \pgfpointdiff{\pgfpointanchor{path picture bounding box}{south east}}{\pgfpointanchor{path picture bounding box}{north east}}
141 \pgfmathsetmacro\d{\csname pgf@y\endcsname}
142 \node [fill, circle, inner sep=0, minimum size=0.65*\d pt, anchor=center] at (path picture bounding box.center) {};
143 }
144 ]
145
146 %%%%% other events %%%%%
147
148 \tikzstyle{draw signal}[] = [
149 path picture = {
150 \def\ma{0.8} %1 - margin
151 \pgfpointdiff{\pgfpointanchor{path picture bounding box}{south east}}{\pgfpointanchor{path picture bounding box}{north east}}
152 \pgfmathsetmacro\d{\csname pgf@y\endcsname}
153 \coordinate (a) at ($(path picture bounding box.center)+(90:\ma*0.5*\d pt)$);
154 \coordinate (b) at ($(path picture bounding box.center)+(210:\ma*0.5*\d pt)$);
155 \coordinate (c) at ($(path picture bounding box.center)+(330:\ma*0.5*\d pt)$);
156 \draw [solid, #1] (a) to (b) to (c) to cycle;
157 }
158 ]
159
160 \tikzstyle{draw error}[] = [
161 path picture = {
162 \def\de{38} %degrees low peaks
163 \def\df{100} %degrees high peaks
164 \def\dd{0.38} %width at valleys
165 \def\ma{0.8} %1 - margin
166 \pgfpointdiff{\pgfpointanchor{path picture bounding box}{south east}}{\pgfpointanchor{path picture bounding box}{north east}}
167 \pgfmathsetmacro\d{\csname pgf@y\endcsname}
168 \coordinate (path picture bounding box a) at ($(path picture bounding box.center)+(\de:\ma*0.5*\d pt)$);
169 \coordinate (path picture bounding box b) at ($(path picture bounding box.center)+(180+\de:\ma*0.5*\d pt)$);
170 \coordinate (path picture bounding box c) at ($(path picture bounding box.center)+(\df:\ma*0.5*\d pt)$);
171 \coordinate (path picture bounding box d) at ($(path picture bounding box.center)+(180+\df:\ma*0.5*\d pt)$);
172 \coordinate (path picture bounding box e) at ($(path picture bounding box c)+(0,-\dd*\d pt)$);
173 \coordinate (path picture bounding box f) at ($(path picture bounding box d)+(0,\dd*\d pt)$);
174 \draw [solid, #1] (path picture bounding box a) to (path picture bounding box f) to (path picture bounding box c) to (path picture bounding box b) to (path picture bounding box e) to (path picture bounding box d) to cycle;
175 }
176 ]
177
178 \tikzstyle{draw message} = [
179 path picture = {
180 \def\de{38} %degrees
181 \def\ma{0.2} %margin
182 \def\li{0.4} %lid
183 \coordinate (path picture bounding box a1) at ($(path picture bounding box.east)!{sin(\de)-\ma}!(path picture bounding box.north east)$);
184 \coordinate (path picture bounding box a2) at ($(path picture bounding box.center)!{cos(\de)-\ma}!(path picture bounding box.east)$);
185 \coordinate (path picture bounding box a) at (path picture bounding box a1 -| path picture bounding box a2);
186 \coordinate (path picture bounding box b1) at ($(path picture bounding box.east)!{sin(\de)-\ma}!(path picture bounding box.south east)$);
187 \coordinate (path picture bounding box b) at (path picture bounding box b1 -| path picture bounding box a2);
188 \coordinate (path picture bounding box c1) at ($(path picture bounding box.west)!{sin(\de)-\ma}!(path picture bounding box.north west)$);
189 \coordinate (path picture bounding box c2) at ($(path picture bounding box.center)!{cos(\de)-\ma}!(path picture bounding box.west)$);
190 \coordinate (path picture bounding box c) at (path picture bounding box c1 -| path picture bounding box c2);
191 \coordinate (path picture bounding box d1) at ($(path picture bounding box.west)!{sin(\de)-\ma}!(path picture bounding box.south west)$);
192 \coordinate (path picture bounding box d) at (path picture bounding box d1 -| path picture bounding box c2);
193 \coordinate (path picture bounding box e1) at ($(path picture bounding box a)!0.5!(path picture bounding box c)$);
194 \coordinate (path picture bounding box e2) at ($(path picture bounding box b)!0.5!(path picture bounding box d)$);
195 \coordinate (path picture bounding box e) at ($(path picture bounding box e1)!\li!(path picture bounding box e2)$);
196 \draw [solid] (path picture bounding box a) to (path picture bounding box b) to (path picture bounding box d) to (path picture bounding box c) to cycle;
197 \draw [solid, line cap=round] (path picture bounding box a) to (path picture bounding box e) to (path picture bounding box c);
198 }
199 ]
200
201 \tikzstyle{draw filled message} = [
202 path picture = {
203 \def\de{38} %degrees
204 \def\ma{0.2} %margin
205 \def\li{0.4} %lid
206 \coordinate (path picture bounding box a1) at ($(path picture bounding box.east)!{sin(\de)-\ma}!(path picture bounding box.north east)$);
207 \coordinate (path picture bounding box a2) at ($(path picture bounding box.center)!{cos(\de)-\ma}!(path picture bounding box.east)$);
208 \coordinate (path picture bounding box a) at (path picture bounding box a1 -| path picture bounding box a2);
209 \coordinate (path picture bounding box b1) at ($(path picture bounding box.east)!{sin(\de)-\ma}!(path picture bounding box.south east)$);
210 \coordinate (path picture bounding box b) at (path picture bounding box b1 -| path picture bounding box a2);
211 \coordinate (path picture bounding box c1) at ($(path picture bounding box.west)!{sin(\de)-\ma}!(path picture bounding box.north west)$);
212 \coordinate (path picture bounding box c2) at ($(path picture bounding box.center)!{cos(\de)-\ma}!(path picture bounding box.west)$);
213 \coordinate (path picture bounding box c) at (path picture bounding box c1 -| path picture bounding box c2);
214 \coordinate (path picture bounding box d1) at ($(path picture bounding box.west)!{sin(\de)-\ma}!(path picture bounding box.south west)$);
215 \coordinate (path picture bounding box d) at (path picture bounding box d1 -| path picture bounding box c2);
216 \coordinate (path picture bounding box e1) at ($(path picture bounding box a)!0.5!(path picture bounding box c)$);
217 \coordinate (path picture bounding box e2) at ($(path picture bounding box b)!0.5!(path picture bounding box d)$);
218 \coordinate (path picture bounding box e) at ($(path picture bounding box e1)!\li!(path picture bounding box e2)$);
219 \fill (path picture bounding box a) to (path picture bounding box b) to (path picture bounding box d) to (path picture bounding box c) to cycle;
220 \draw [line cap=round, line width=1pt, #1] (path picture bounding box a) to (path picture bounding box e) to (path picture bounding box c);
221 }
222 ]
223
224 \tikzstyle{draw compensation}[] = [
225 path picture = {
226 \def\de{40} %degrees
227 \def\ma{0.2} %margin
228 \coordinate (a1) at ($(path picture bounding box.east)!{sin(\de)-\ma}!(path picture bounding box.north east)$);
229 \coordinate (a2) at ($(path picture bounding box.center)!{cos(\de)-\ma}!(path picture bounding box.east)$);
230 \coordinate (a) at (a1 -| a2);
231 \coordinate (b1) at ($(path picture bounding box.east)!{sin(\de)-\ma}!(path picture bounding box.south east)$);
232 \coordinate (b) at (b1 -| a2);
233 \coordinate (c) at ($(path picture bounding box.west)!\ma!(path picture bounding box.center)$);
234 \coordinate (d1) at ($(a)!0.5!(b)$);
235 \coordinate (d) at ($(c)!0.5!(d1)$);
236 \coordinate (e) at (d |- a);
237 \coordinate (f) at (d |- b);
238 \draw [solid, #1] (d)
239 to (a)
240 to (b)
241 to cycle;
242 \draw [solid, #1] (c)
243 to (e)
244 to (f)
245 to cycle;
246 }
247 ]
248
249 \tikzstyle{draw timer} = [
250 path picture = {
251 \def\ma{0.75} %1 - margin
252 \pgfpointdiff{\pgfpointanchor{path picture bounding box}{south east}}{\pgfpointanchor{path picture bounding box}{north east}}
253 \pgfmathsetmacro\r{\csname pgf@y\endcsname}
254 \draw [solid, #1] (path picture bounding box.center) circle (\ma*0.5*\r pt);
255 \foreach \angle in {0,30,...,330}
256 \draw [solid, ultra thin, #1] ($(path picture bounding box.center)+(\angle:\ma*0.4*\r pt)$) to ($(path picture bounding box.center)+(\angle:\ma*0.5*\r pt)$);
257 \draw [solid, line cap=round, #1] ($(path picture bounding box.center)+(77:\ma*0.425*\r pt)$) to (path picture bounding box.center);
258 \draw [solid, line cap=round, #1] ($(path picture bounding box.center)+(0:\ma*0.3*\r pt)$) to (path picture bounding box.center);
259 }
260 ]
261
262 \tikzstyle{throwing compensation intermediate event}[defaultbackgroundcolour] = [
263 draw compensation={fill},
264 intermediate event=#1,
265 ]
266
267 \tikzstyle{throwing compensation end event} = [
268 end event,
269 draw compensation={fill,thin}
270 ]
271
272 \tikzstyle{error event} = [throwing error end event]
273 \tikzstyle{throwing error end event} = [
274 end event,
275 draw error={fill,thin}
276 ]
277
278 \tikzstyle{timer start event} = [
279 start event,
280 draw timer
281 ]
282
283 \tikzstyle{timer event} = [timer intermediate event]
284 \tikzstyle{timer intermediate event}[defaultbackgroundcolour] = [
285 intermediate event=#1,
286 draw timer
287 ]
288
289 \tikzstyle{signal start event} = [
290 start event,
291 draw signal
292 ]
293
294 \tikzstyle{signal intermediate event}[defaultbackgroundcolour] = [catching signal intermediate event=#1]
295 \tikzstyle{catching signal intermediate event}[defaultbackgroundcolour] = [
296 intermediate event=#1,
297 draw signal
298 ]
299
300 \tikzstyle{throwing signal intermediate event}[defaultbackgroundcolour] = [
301 intermediate event=#1,
302 draw signal={fill,draw=none}
303 ]
304
305 \tikzstyle{signal end event} = [
306 end event,
307 draw signal={fill,draw=none}
308 ]
309
310 %%%%% boundary events %%%%%
311
312 \tikzstyle{boundary event}[defaultbackgroundcolour] = [
313 circle,
314 draw,
315 fill=#1,
316 double=#1,
317 anchor=center
318 ]
319
320 \tikzstyle{noninterrupting boundary event}[defaultbackgroundcolour] = [
321 circle,
322 dashed,
323 dash pattern=on 1.5pt off 1pt,
324 draw,
325 fill=#1,
326 double=#1,
327 anchor=center
328 ]
329
330 \tikzstyle{compensation boundary event}[defaultbackgroundcolour] = [
331 boundary event=#1,
332 draw compensation
333 ]
334
335 \tikzstyle{message boundary event}[defaultbackgroundcolour] = [
336 boundary event=#1,
337 draw message
338 ]
339
340 \tikzstyle{message noninterrupting boundary event}[defaultbackgroundcolour] = [
341 draw message,
342 noninterrupting boundary event=#1
343 ]
344
345 \tikzstyle{timer boundary event}[defaultbackgroundcolour] = [
346 boundary event=#1,
347 draw timer
348 ]
349
350 \tikzstyle{timer noninterrupting boundary event}[defaultbackgroundcolour] = [
351 draw timer,
352 noninterrupting boundary event=#1
353 ]
354
355 \tikzstyle{error boundary event}[defaultbackgroundcolour] = [
356 boundary event=#1,
357 draw error
358 ]
359
360 \tikzstyle{signal boundary event}[defaultbackgroundcolour] = [
361 boundary event=#1,
362 draw signal
363 ]
364
365 \tikzstyle{signal noninterrupting boundary event}[defaultbackgroundcolour] = [
366 draw signal,
367 noninterrupting boundary event=#1
368 ]
369
370 %%%%% event sub-process %%%%%
371
372 \tikzstyle{event subprocess} = [
373 expanded subprocess,
374 dotted
375 ]
376
377 \tikzstyle{collapsed event subprocess} = [
378 collapsed subprocess,
379 dotted,
380 label={[anchor=north west,#1,circle,draw,minimum size=0.3cm,inner sep=0,xshift=0.1cm,yshift=-0.1cm]north west:}
381 ]
382
383 \tikzstyle{collapsed noninterrupting event subprocess} = [
384 collapsed subprocess,
385 dotted,
386 label={[anchor=north west,
387 #1,
388 dashed,
389 draw,
390 circle,
391 dash pattern=on 1pt off 1pt,
392 minimum size=0.3cm,
393 inner sep=0,
394 xshift=0.1cm,
395 yshift=-0.1cm]north west:}
396 ]
397
398 \tikzstyle{event subprocess label} = [
399 task,
400 fit margins={left=1.5mm,right=1.5mm,bottom=1.5mm,top=2.1mm},
401 label={[anchor=north west]north west:\footnotesize#1},
402 dotted
403 ]
404
405 \tikzstyle{message event subprocess} = [
406 collapsed event subprocess=draw message
407 ]
408
409 \tikzstyle{timer event subprocess} = [
410 collapsed event subprocess=draw timer
411 ]
412
413 \tikzstyle{compensation event subprocess} = [
414 collapsed event subprocess=draw compensation
415 ]
416
417 \tikzstyle{signal event subprocess} = [
418 collapsed event subprocess=draw signal
419 ]
420
421 \tikzstyle{error event subprocess} = [
422 collapsed event subprocess=draw error
423 ]
424
425 \tikzstyle{message noninterrupting event subprocess} = [
426 collapsed noninterrupting event subprocess=draw message
427 ]
428
429 \tikzstyle{timer noninterrupting event subprocess} = [
430 collapsed noninterrupting event subprocess=draw timer
431 ]
432
433 \tikzstyle{signal noninterrupting event subprocess} = [
434 collapsed noninterrupting event subprocess=draw signal
435 ]
436
437 \tikzstyle{subprocess event} = [
438 start event
439 ]
440
441 \tikzstyle{noninterrupting subprocess event} = [
442 start event,
443 dashed,
444 dash pattern=on 2pt off 2pt
445 ]
446
447 \tikzstyle{message subprocess event} = [
448 subprocess event,
449 draw message
450 ]
451
452 \tikzstyle{message noninterrupting subprocess event} = [
453 noninterrupting subprocess event,
454 draw message
455 ]
456
457 \tikzstyle{timer subprocess event} = [
458 subprocess event,
459 draw timer
460 ]
461
462 \tikzstyle{timer noninterrupting subprocess event} = [
463 noninterrupting subprocess event,
464 draw timer
465 ]
466
467 \tikzstyle{signal subprocess event} = [
468 subprocess event,
469 draw signal
470 ]
471
472 \tikzstyle{signal noninterrupting subprocess event} = [
473 noninterrupting subprocess event,
474 draw signal
475 ]
476
477 \tikzstyle{compensation subprocess event} = [
478 subprocess event,
479 draw compensation
480 ]
481
482 \tikzstyle{error subprocess event} = [
483 subprocess event,
484 draw error
485 ]
486
487 %%%%% call activity %%%%%
488
489 \tikzstyle{call task} = [
490 task,
491 thick,
492 every call activity
493 ]
494
495 \tikzstyle{collapsed call subprocess} = [call subprocess]
496 \tikzstyle{call subprocess} = [
497 call task,
498 inner sep=3mm,
499 label={[anchor=south,
500 inner sep=-0.25mm,
501 shape=square,
502 draw,
503 regular polygon,
504 regular polygon sides=4,
505 yshift=0.5mm
506 ]below:\footnotesize +},
507 every call activity
508 ]
509
510 %%%%% sub-processes %%%%%
511
512 \def\tikzsubprocessmarker{\tikz{\node[draw, regular polygon, regular polygon sides=4, inner sep=-0.25mm]{\footnotesize +};}}
513 \def\tikzmultimarker{%
514 \def\x{0.5mm}%
515 \def\y{0.6mm}%
516 \tikz{
517 \node (b) [opacity=0, draw, regular polygon, regular polygon sides=4, inner sep=-0.25mm]{\footnotesize +};
518 \draw ($(b.center)+(0,-\y)$) to ++(0,2*\y);
519 \draw ($(b.center)+(\x,-\y)$) to ++(0,2*\y);
520 \draw ($(b.center)+(-\x,-\y)$) to ++(0,2*\y);
521 }%
522 }
523 \def\tikzloopmarker{%
524 \tikz{
525 \node (b) [opacity=0, draw, regular polygon, regular polygon sides=4, inner sep=-0.25mm]{\footnotesize +};
526 \node at (b.center) [rotate=170,yshift=-0.9mm] {\pmb{\circlearrowleft}};
527 }%
528 }
529 \def\tikzcompensationmarker{%
530 \tikz{
531 \def\y{0.4mm}
532 \node (b) [opacity=0, draw, regular polygon, regular polygon sides=4, inner sep=-0.25mm]{\footnotesize +};
533 \draw [rounded corners=0.05mm] (b.center) to ($(b.north)+(0,-\y)$) to (b.west) to ($(b.south)+(0,\y)$) to (b.center);
534 \draw [rounded corners=0.05mm] (b.center) to ($(b.north east)+(0,-\y)$) to ($(b.south east)+(0,\y)$) to cycle;
535 }%
536 }
537
538 \tikzstyle{subprocess marker} = [
539 task,
540 inner sep=3mm,
541 task marker=#1
542 ]
543 \tikzstyle{task marker} = [
544 task,
545 label={[anchor=south,inner sep=0]below:#1}
546 ]
547
548 \tikzstyle{subprocess} = [
549 subprocess marker=\tikzsubprocessmarker
550 ]
551 \tikzstyle{collapsed subprocess} = [subprocess]
552 \tikzstyle{expanded subprocess} = [task, inner sep=3mm]
553 \tikzstyle{subprocess label} = [task, fit margins={left=1.5mm,right=1.5mm,bottom=1.5mm,top=2.1mm}, label={[anchor=north]above:\footnotesize#1}]
554
555 \tikzstyle{adhoc subprocess} = [collapsed adhoc subprocess]
556 \tikzstyle{collapsed adhoc subprocess} = [
557 subprocess marker=\tikzsubprocessmarker{} $\thicksim$
558 ]
559
560 \tikzstyle{expanded adhoc subprocess} = [
561 subprocess marker=$\thicksim$
562 ]
563
564 \tikzstyle{multiinstance task} = [
565 subprocess marker=\tikzmultimarker
566 ]
567
568 \tikzstyle{multiinstance subprocess} = [collapsed multiinstance subprocess]
569 \tikzstyle{collapsed multiinstance subprocess} = [
570 subprocess marker=\tikzsubprocessmarker \tikzmultimarker
571 ]
572
573 \tikzstyle{expanded multiinstance subprocess} = [
574 subprocess marker=\tikzmultimarker
575 ]
576
577 \tikzstyle{loop task} = [
578 task marker=\tikzloopmarker
579 ]
580
581 \tikzstyle{loop subprocess} = [collapsed loop subprocess]
582 \tikzstyle{collapsed loop subprocess} = [
583 subprocess marker=\tikzsubprocessmarker{} \tikzloopmarker
584 ]
585
586 \tikzstyle{expanded loop subprocess} = [
587 subprocess marker=\tikzloopmarker
588 ]
589
590 \tikzstyle{compensation task} = [
591 fit margins={left=0.8mm,right=0.8mm,bottom=2.1mm,top=0.8mm},
592 task marker=\tikzcompensationmarker
593 ]
594
595 \tikzstyle{compensation subprocess} = [collapsed compensation subprocess]
596 \tikzstyle{collapsed compensation subprocess} = [
597 subprocess marker=\tikzsubprocessmarker{} \tikzcompensationmarker
598 ]
599
600 \tikzstyle{expanded compensation subprocess} = [
601 subprocess marker=\tikzcompensationmarker
602 ]
603
604 %%%%% task type marker %%%%%
605
606 \tikzstyle{task type marker} = [
607 task,
608 label={[anchor=north west,
609 line width=0.1pt,
610 #1,
611 minimum size=0.2cm,
612 inner sep=0,
613 xshift=0.05cm,
614 yshift=-0.05cm]north west:}
615 ]
616
617 \tikzstyle{manual task} = [
618 task type marker=draw manual
619 ]
620
621 \tikzstyle{receive task} = [
622 task type marker=draw message
623 ]
624
625 \tikzstyle{script task} = [
626 task type marker=draw script
627 ]
628
629 \tikzstyle{send task}[defaultbackgroundcolour] = [
630 task type marker={draw filled message={#1, line width=0.1pt}}
631 ]
632
633 \tikzstyle{service task}[defaultbackgroundcolour] = [
634 task type marker={draw service={#1}}
635 ]
636
637 \tikzstyle{user task} = [
638 task type marker=draw user
639 ]
640
641 \tikzstyle{draw service}[defaultbackgroundcolour] = [
642 path picture = {
643 \coordinate (ne) at ($(path picture bounding box.north east)-(0.5pt,0.5pt)$);
644 \coordinate (sw) at ($(path picture bounding box.south west)+(0.5pt,0.5pt)$);
645 %\draw (path picture bounding box.north east) rectangle (path picture bounding box.south west);
646 \coordinate (c1x) at ($(sw)!0.613157894736843!(ne)$);\coordinate (c1y) at ($(sw)!0.774869109947646!(ne)$);\coordinate (c4x) at ($(sw)!0.673684210526316!(ne)$);\coordinate (c4y) at ($(sw)!0.837696335078536!(ne)$);\coordinate (c8x) at ($(sw)!0.665789473684211!(ne)$);\coordinate (c8y) at ($(sw)!0.869109947643979!(ne)$);\coordinate (c12x) at ($(sw)!0.649999999999999!(ne)$);\coordinate (c12y) at ($(sw)!0.890052356020943!(ne)$);\coordinate (c16x) at ($(sw)!0.626315789473683!(ne)$);\coordinate (c16y) at ($(sw)!0.908376963350787!(ne)$);\coordinate (c20x) at ($(sw)!0.594736842105263!(ne)$);\coordinate (c20y) at ($(sw)!0.916230366492146!(ne)$);\coordinate (c24x) at ($(sw)!0.526315789473684!(ne)$);\coordinate (c24y) at ($(sw)!0.853403141361256!(ne)$);\coordinate (c28x) at ($(sw)!0.489473684210527!(ne)$);\coordinate (c28y) at ($(sw)!0.869109947643979!(ne)$);\coordinate (c32x) at ($(sw)!0.452631578947368!(ne)$);\coordinate (c32y) at ($(sw)!0.882198952879582!(ne)$);\coordinate (c36x) at ($(sw)!0.444736842105262!(ne)$);\coordinate (c36y) at ($(sw)!0.976439790575915!(ne)$);\coordinate (c40x) at ($(sw)!0.421052631578948!(ne)$);\coordinate (c40y) at ($(sw)!0.992146596858639!(ne)$);\coordinate (c44x) at ($(sw)!0.389473684210526!(ne)$);\coordinate (c44y) at ($(sw)!1!(ne)$);\coordinate (c48x) at ($(sw)!0.360526315789475!(ne)$);\coordinate (c48y) at ($(sw)!0.992146596858639!(ne)$);\coordinate (c52x) at ($(sw)!0.33421052631579!(ne)$);\coordinate (c52y) at ($(sw)!0.976439790575915!(ne)$);\coordinate (c56x) at ($(sw)!0.328947368421053!(ne)$);\coordinate (c56y) at ($(sw)!0.882198952879582!(ne)$);\coordinate (c60x) at ($(sw)!0.278947368421053!(ne)$);\coordinate (c60y) at ($(sw)!0.866492146596859!(ne)$);\coordinate (c64x) at ($(sw)!0.234210526315788!(ne)$);\coordinate (c64y) at ($(sw)!0.840314136125656!(ne)$);\coordinate (c68x) at ($(sw)!0.150000000000001!(ne)$);\coordinate (c68y) at ($(sw)!0.916230366492146!(ne)$);\coordinate (c72x) at ($(sw)!0.121052631578947!(ne)$);\coordinate (c72y) at ($(sw)!0.908376963350787!(ne)$);\coordinate (c76x) at ($(sw)!0.0947368421052642!(ne)$);\coordinate (c76y) at ($(sw)!0.890052356020943!(ne)$);\coordinate (c80x) at ($(sw)!0.0789473684210531!(ne)$);\coordinate (c80y) at ($(sw)!0.869109947643979!(ne)$);\coordinate (c84x) at ($(sw)!0.0736842105263161!(ne)$);\coordinate (c84y) at ($(sw)!0.837696335078536!(ne)$);\coordinate (c88x) at ($(sw)!0.150000000000001!(ne)$);\coordinate (c88y) at ($(sw)!0.751308900523561!(ne)$);\coordinate (c92x) at ($(sw)!0.131578947368421!(ne)$);\coordinate (c92y) at ($(sw)!0.709424083769635!(ne)$);\coordinate (c96x) at ($(sw)!0.118421052631578!(ne)$);\coordinate (c96y) at ($(sw)!0.667539267015707!(ne)$);\coordinate (c100x) at ($(sw)!0.0184210526315796!(ne)$);\coordinate (c100y) at ($(sw)!0.662303664921466!(ne)$);\coordinate (c104x) at ($(sw)!0.00263157894736852!(ne)$);\coordinate (c104y) at ($(sw)!0.636125654450263!(ne)$);\coordinate (c108x) at ($(sw)!0!(ne)$);\coordinate (c108y) at ($(sw)!0.607329842931938!(ne)$);\coordinate (c112x) at ($(sw)!0.00263157894736852!(ne)$);\coordinate (c112y) at ($(sw)!0.578534031413614!(ne)$);\coordinate (c116x) at ($(sw)!0.0184210526315796!(ne)$);\coordinate (c116y) at ($(sw)!0.55497382198953!(ne)$);\coordinate (c120x) at ($(sw)!0.118421052631578!(ne)$);\coordinate (c120y) at ($(sw)!0.547120418848168!(ne)$);\coordinate (c124x) at ($(sw)!0.126315789473684!(ne)$);\coordinate (c124y) at ($(sw)!0.510471204188483!(ne)$);\coordinate (c128x) at ($(sw)!0.147368421052632!(ne)$);\coordinate (c128y) at ($(sw)!0.473821989528796!(ne)$);\coordinate (c132x) at ($(sw)!0.0736842105263161!(ne)$);\coordinate (c132y) at ($(sw)!0.392670157068063!(ne)$);\coordinate (c136x) at ($(sw)!0.0789473684210531!(ne)$);\coordinate (c136y) at ($(sw)!0.363874345549739!(ne)$);\coordinate (c140x) at ($(sw)!0.0947368421052642!(ne)$);\coordinate (c140y) at ($(sw)!0.340314136125655!(ne)$);\coordinate (c144x) at ($(sw)!0.121052631578947!(ne)$);\coordinate (c144y) at ($(sw)!0.321989528795811!(ne)$);\coordinate (c148x) at ($(sw)!0.150000000000001!(ne)$);\coordinate (c148y) at ($(sw)!0.316753926701573!(ne)$);\coordinate (c152x) at ($(sw)!0.226315789473685!(ne)$);\coordinate (c152y) at ($(sw)!0.382198952879583!(ne)$);\coordinate (c156x) at ($(sw)!0.273684210526316!(ne)$);\coordinate (c156y) at ($(sw)!0.353403141361257!(ne)$);\coordinate (c160x) at ($(sw)!0.328947368421053!(ne)$);\coordinate (c160y) at ($(sw)!0.337696335078534!(ne)$);\coordinate (c164x) at ($(sw)!0.33421052631579!(ne)$);\coordinate (c164y) at ($(sw)!0.23821989528796!(ne)$);\coordinate (c168x) at ($(sw)!0.360526315789475!(ne)$);\coordinate (c168y) at ($(sw)!0.222513089005236!(ne)$);\coordinate (c172x) at ($(sw)!0.389473684210526!(ne)$);\coordinate (c172y) at ($(sw)!0.217277486910995!(ne)$);\coordinate (c176x) at ($(sw)!0.421052631578948!(ne)$);\coordinate (c176y) at ($(sw)!0.222513089005236!(ne)$);\coordinate (c180x) at ($(sw)!0.444736842105262!(ne)$);\coordinate (c180y) at ($(sw)!0.23821989528796!(ne)$);\coordinate (c184x) at ($(sw)!0.452631578947368!(ne)$);\coordinate (c184y) at ($(sw)!0.337696335078534!(ne)$);\coordinate (c188x) at ($(sw)!0.492105263157896!(ne)$);\coordinate (c188y) at ($(sw)!0.350785340314137!(ne)$);\coordinate (c192x) at ($(sw)!0.53421052631579!(ne)$);\coordinate (c192y) at ($(sw)!0.36910994764398!(ne)$);\coordinate (c196x) at ($(sw)!0.594736842105263!(ne)$);\coordinate (c196y) at ($(sw)!0.316753926701573!(ne)$);\coordinate (c200x) at ($(sw)!0.626315789473683!(ne)$);\coordinate (c200y) at ($(sw)!0.321989528795811!(ne)$);\coordinate (c204x) at ($(sw)!0.649999999999999!(ne)$);\coordinate (c204y) at ($(sw)!0.340314136125655!(ne)$);\coordinate (c208x) at ($(sw)!0.665789473684211!(ne)$);\coordinate (c208y) at ($(sw)!0.363874345549739!(ne)$);\coordinate (c212x) at ($(sw)!0.673684210526316!(ne)$);\coordinate (c212y) at ($(sw)!0.392670157068063!(ne)$);\coordinate (c216x) at ($(sw)!0.621052631578948!(ne)$);\coordinate (c216y) at ($(sw)!0.452879581151832!(ne)$);\coordinate (c220x) at ($(sw)!0.647368421052631!(ne)$);\coordinate (c220y) at ($(sw)!0.500000000000001!(ne)$);\coordinate (c224x) at ($(sw)!0.663157894736842!(ne)$);\coordinate (c224y) at ($(sw)!0.547120418848168!(ne)$);\coordinate (c228x) at ($(sw)!0.760526315789472!(ne)$);\coordinate (c228y) at ($(sw)!0.55497382198953!(ne)$);\coordinate (c232x) at ($(sw)!0.776315789473683!(ne)$);\coordinate (c232y) at ($(sw)!0.578534031413614!(ne)$);\coordinate (c236x) at ($(sw)!0.778947368421052!(ne)$);\coordinate (c236y) at ($(sw)!0.607329842931938!(ne)$);\coordinate (c240x) at ($(sw)!0.776315789473683!(ne)$);\coordinate (c240y) at ($(sw)!0.636125654450263!(ne)$);\coordinate (c244x) at ($(sw)!0.760526315789472!(ne)$);\coordinate (c244y) at ($(sw)!0.662303664921466!(ne)$);\coordinate (c248x) at ($(sw)!0.663157894736842!(ne)$);\coordinate (c248y) at ($(sw)!0.667539267015707!(ne)$);\coordinate (c252x) at ($(sw)!0.642105263157894!(ne)$);\coordinate (c252y) at ($(sw)!0.722513089005235!(ne)$);\coordinate (c256x) at ($(sw)!0.613157894736843!(ne)$);\coordinate (c256y) at ($(sw)!0.774869109947646!(ne)$);
647 \draw (c1x |- c1y) -- (c4x |- c4y) -- (c8x |- c8y) -- (c12x |- c12y) -- (c16x |- c16y) -- (c20x |- c20y) -- (c24x |- c24y) -- (c28x |- c28y) -- (c32x |- c32y) -- (c36x |- c36y) -- (c40x |- c40y) -- (c44x |- c44y) -- (c48x |- c48y) -- (c52x |- c52y) -- (c56x |- c56y) -- (c60x |- c60y) -- (c64x |- c64y) -- (c68x |- c68y) -- (c72x |- c72y) -- (c76x |- c76y) -- (c80x |- c80y) -- (c84x |- c84y) -- (c88x |- c88y) -- (c92x |- c92y) -- (c96x |- c96y) -- (c100x |- c100y) -- (c104x |- c104y) -- (c108x |- c108y) -- (c112x |- c112y) -- (c116x |- c116y) -- (c120x |- c120y) -- (c124x |- c124y) -- (c128x |- c128y) -- (c132x |- c132y) -- (c136x |- c136y) -- (c140x |- c140y) -- (c144x |- c144y) -- (c148x |- c148y) -- (c152x |- c152y) -- (c156x |- c156y) -- (c160x |- c160y) -- (c164x |- c164y) -- (c168x |- c168y) -- (c172x |- c172y) -- (c176x |- c176y) -- (c180x |- c180y) -- (c184x |- c184y) -- (c188x |- c188y) -- (c192x |- c192y) -- (c196x |- c196y) -- (c200x |- c200y) -- (c204x |- c204y) -- (c208x |- c208y) -- (c212x |- c212y) -- (c216x |- c216y) -- (c220x |- c220y) -- (c224x |- c224y) -- (c228x |- c228y) -- (c232x |- c232y) -- (c236x |- c236y) -- (c240x |- c240y) -- (c244x |- c244y) -- (c248x |- c248y) -- (c252x |- c252y) -- (c256x |- c256y) ;
648 \coordinate (c301x) at ($(sw)!0.476315789473685!(ne)$);\coordinate (c301y) at ($(sw)!0.672774869109948!(ne)$);\coordinate (c304x) at ($(sw)!0.499999999999999!(ne)$);\coordinate (c304y) at ($(sw)!0.696335078534033!(ne)$);\coordinate (c308x) at ($(sw)!0.49736842105263!(ne)$);\coordinate (c308y) at ($(sw)!0.709424083769635!(ne)$);\coordinate (c312x) at ($(sw)!0.489473684210527!(ne)$);\coordinate (c312y) at ($(sw)!0.719895287958115!(ne)$);\coordinate (c316x) at ($(sw)!0.481578947368422!(ne)$);\coordinate (c316y) at ($(sw)!0.725130890052356!(ne)$);\coordinate (c320x) at ($(sw)!0.471052631578948!(ne)$);\coordinate (c320y) at ($(sw)!0.730366492146597!(ne)$);\coordinate (c324x) at ($(sw)!0.442105263157894!(ne)$);\coordinate (c324y) at ($(sw)!0.704188481675394!(ne)$);\coordinate (c328x) at ($(sw)!0.413157894736843!(ne)$);\coordinate (c328y) at ($(sw)!0.712041884816756!(ne)$);\coordinate (c332x) at ($(sw)!0.410526315789474!(ne)$);\coordinate (c332y) at ($(sw)!0.751308900523561!(ne)$);\coordinate (c336x) at ($(sw)!0.389473684210526!(ne)$);\coordinate (c336y) at ($(sw)!0.761780104712043!(ne)$);\coordinate (c340x) at ($(sw)!0.368421052631578!(ne)$);\coordinate (c340y) at ($(sw)!0.751308900523561!(ne)$);\coordinate (c344x) at ($(sw)!0.365789473684209!(ne)$);\coordinate (c344y) at ($(sw)!0.712041884816756!(ne)$);\coordinate (c348x) at ($(sw)!0.347368421052632!(ne)$);\coordinate (c348y) at ($(sw)!0.706806282722515!(ne)$);\coordinate (c352x) at ($(sw)!0.331578947368421!(ne)$);\coordinate (c352y) at ($(sw)!0.701570680628274!(ne)$);\coordinate (c356x) at ($(sw)!0.294736842105264!(ne)$);\coordinate (c356y) at ($(sw)!0.730366492146597!(ne)$);\coordinate (c360x) at ($(sw)!0.286842105263159!(ne)$);\coordinate (c360y) at ($(sw)!0.725130890052356!(ne)$);\coordinate (c364x) at ($(sw)!0.276315789473685!(ne)$);\coordinate (c364y) at ($(sw)!0.719895287958115!(ne)$);\coordinate (c368x) at ($(sw)!0.271052631578948!(ne)$);\coordinate (c368y) at ($(sw)!0.709424083769635!(ne)$);\coordinate (c372x) at ($(sw)!0.268421052631579!(ne)$);\coordinate (c372y) at ($(sw)!0.696335078534033!(ne)$);\coordinate (c376x) at ($(sw)!0.294736842105264!(ne)$);\coordinate (c376y) at ($(sw)!0.664921465968586!(ne)$);\coordinate (c380x) at ($(sw)!0.28421052631579!(ne)$);\coordinate (c380y) at ($(sw)!0.630890052356022!(ne)$);\coordinate (c384x) at ($(sw)!0.244736842105262!(ne)$);\coordinate (c384y) at ($(sw)!0.630890052356022!(ne)$);\coordinate (c388x) at ($(sw)!0.239473684210525!(ne)$);\coordinate (c388y) at ($(sw)!0.62041884816754!(ne)$);\coordinate (c392x) at ($(sw)!0.239473684210525!(ne)$);\coordinate (c392y) at ($(sw)!0.599476439790576!(ne)$);\coordinate (c396x) at ($(sw)!0.244736842105262!(ne)$);\coordinate (c396y) at ($(sw)!0.586387434554973!(ne)$);\coordinate (c400x) at ($(sw)!0.28421052631579!(ne)$);\coordinate (c400y) at ($(sw)!0.586387434554973!(ne)$);\coordinate (c404x) at ($(sw)!0.294736842105264!(ne)$);\coordinate (c404y) at ($(sw)!0.55759162303665!(ne)$);\coordinate (c408x) at ($(sw)!0.268421052631579!(ne)$);\coordinate (c408y) at ($(sw)!0.526178010471204!(ne)$);\coordinate (c412x) at ($(sw)!0.271052631578948!(ne)$);\coordinate (c412y) at ($(sw)!0.513089005235604!(ne)$);\coordinate (c416x) at ($(sw)!0.276315789473685!(ne)$);\coordinate (c416y) at ($(sw)!0.502617801047122!(ne)$);\coordinate (c420x) at ($(sw)!0.286842105263159!(ne)$);\coordinate (c420y) at ($(sw)!0.497382198952881!(ne)$);\coordinate (c424x) at ($(sw)!0.294736842105264!(ne)$);\coordinate (c424y) at ($(sw)!0.49476439790576!(ne)$);\coordinate (c428x) at ($(sw)!0.328947368421053!(ne)$);\coordinate (c428y) at ($(sw)!0.518324607329842!(ne)$);\coordinate (c432x) at ($(sw)!0.365789473684209!(ne)$);\coordinate (c432y) at ($(sw)!0.502617801047122!(ne)$);\coordinate (c436x) at ($(sw)!0.368421052631578!(ne)$);\coordinate (c436y) at ($(sw)!0.465968586387435!(ne)$);\coordinate (c440x) at ($(sw)!0.378947368421052!(ne)$);\coordinate (c440y) at ($(sw)!0.458115183246073!(ne)$);\coordinate (c444x) at ($(sw)!0.389473684210526!(ne)$);\coordinate (c444y) at ($(sw)!0.455497382198952!(ne)$);\coordinate (c448x) at ($(sw)!0.4!(ne)$);\coordinate (c448y) at ($(sw)!0.458115183246073!(ne)$);\coordinate (c452x) at ($(sw)!0.410526315789474!(ne)$);\coordinate (c452y) at ($(sw)!0.465968586387435!(ne)$);\coordinate (c456x) at ($(sw)!0.413157894736843!(ne)$);\coordinate (c456y) at ($(sw)!0.502617801047122!(ne)$);\coordinate (c460x) at ($(sw)!0.444736842105262!(ne)$);\coordinate (c460y) at ($(sw)!0.515706806282724!(ne)$);\coordinate (c464x) at ($(sw)!0.471052631578948!(ne)$);\coordinate (c464y) at ($(sw)!0.49476439790576!(ne)$);\coordinate (c468x) at ($(sw)!0.481578947368422!(ne)$);\coordinate (c468y) at ($(sw)!0.497382198952881!(ne)$);\coordinate (c472x) at ($(sw)!0.489473684210527!(ne)$);\coordinate (c472y) at ($(sw)!0.502617801047122!(ne)$);\coordinate (c476x) at ($(sw)!0.49736842105263!(ne)$);\coordinate (c476y) at ($(sw)!0.513089005235604!(ne)$);\coordinate (c480x) at ($(sw)!0.499999999999999!(ne)$);\coordinate (c480y) at ($(sw)!0.526178010471204!(ne)$);\coordinate (c484x) at ($(sw)!0.481578947368422!(ne)$);\coordinate (c484y) at ($(sw)!0.547120418848168!(ne)$);\coordinate (c488x) at ($(sw)!0.489473684210527!(ne)$);\coordinate (c488y) at ($(sw)!0.568062827225132!(ne)$);\coordinate (c492x) at ($(sw)!0.49736842105263!(ne)$);\coordinate (c492y) at ($(sw)!0.586387434554973!(ne)$);\coordinate (c496x) at ($(sw)!0.53421052631579!(ne)$);\coordinate (c496y) at ($(sw)!0.586387434554973!(ne)$);\coordinate (c500x) at ($(sw)!0.542105263157895!(ne)$);\coordinate (c500y) at ($(sw)!0.599476439790576!(ne)$);\coordinate (c504x) at ($(sw)!0.542105263157895!(ne)$);\coordinate (c504y) at ($(sw)!0.62041884816754!(ne)$);\coordinate (c508x) at ($(sw)!0.53421052631579!(ne)$);\coordinate (c508y) at ($(sw)!0.630890052356022!(ne)$);\coordinate (c512x) at ($(sw)!0.49736842105263!(ne)$);\coordinate (c512y) at ($(sw)!0.633507853403143!(ne)$);\coordinate (c516x) at ($(sw)!0.489473684210527!(ne)$);\coordinate (c516y) at ($(sw)!0.651832460732984!(ne)$);\coordinate (c520x) at ($(sw)!0.476315789473685!(ne)$);\coordinate (c520y) at ($(sw)!0.672774869109948!(ne)$);
649 \draw (c301x |- c301y) -- (c304x |- c304y) -- (c308x |- c308y) -- (c312x |- c312y) -- (c316x |- c316y) -- (c320x |- c320y) -- (c324x |- c324y) -- (c328x |- c328y) -- (c332x |- c332y) -- (c336x |- c336y) -- (c340x |- c340y) -- (c344x |- c344y) -- (c348x |- c348y) -- (c352x |- c352y) -- (c356x |- c356y) -- (c360x |- c360y) -- (c364x |- c364y) -- (c368x |- c368y) -- (c372x |- c372y) -- (c376x |- c376y) -- (c380x |- c380y) -- (c384x |- c384y) -- (c388x |- c388y) -- (c392x |- c392y) -- (c396x |- c396y) -- (c400x |- c400y) -- (c404x |- c404y) -- (c408x |- c408y) -- (c412x |- c412y) -- (c416x |- c416y) -- (c420x |- c420y) -- (c424x |- c424y) -- (c428x |- c428y) -- (c432x |- c432y) -- (c436x |- c436y) -- (c440x |- c440y) -- (c444x |- c444y) -- (c448x |- c448y) -- (c452x |- c452y) -- (c456x |- c456y) -- (c460x |- c460y) -- (c464x |- c464y) -- (c468x |- c468y) -- (c472x |- c472y) -- (c476x |- c476y) -- (c480x |- c480y) -- (c484x |- c484y) -- (c488x |- c488y) -- (c492x |- c492y) -- (c496x |- c496y) -- (c500x |- c500y) -- (c504x |- c504y) -- (c508x |- c508y) -- (c512x |- c512y) -- (c516x |- c516y) -- (c520x |- c520y) ;
650 \coordinate (c601x) at ($(sw)!0.834210526315788!(ne)$);\coordinate (c601y) at ($(sw)!0.55497382198953!(ne)$);\coordinate (c604x) at ($(sw)!0.892105263157893!(ne)$);\coordinate (c604y) at ($(sw)!0.62041884816754!(ne)$);\coordinate (c608x) at ($(sw)!0.88421052631579!(ne)$);\coordinate (c608y) at ($(sw)!0.649214659685863!(ne)$);\coordinate (c612x) at ($(sw)!0.86578947368421!(ne)$);\coordinate (c612y) at ($(sw)!0.675392670157068!(ne)$);\coordinate (c616x) at ($(sw)!0.844736842105262!(ne)$);\coordinate (c616y) at ($(sw)!0.691099476439792!(ne)$);\coordinate (c620x) at ($(sw)!0.815789473684211!(ne)$);\coordinate (c620y) at ($(sw)!0.701570680628274!(ne)$);\coordinate (c624x) at ($(sw)!0.742105263157895!(ne)$);\coordinate (c624y) at ($(sw)!0.636125654450263!(ne)$);\coordinate (c628x) at ($(sw)!0.705263157894736!(ne)$);\coordinate (c628y) at ($(sw)!0.651832460732984!(ne)$);\coordinate (c632x) at ($(sw)!0.668421052631579!(ne)$);\coordinate (c632y) at ($(sw)!0.662303664921466!(ne)$);\coordinate (c636x) at ($(sw)!0.663157894736842!(ne)$);\coordinate (c636y) at ($(sw)!0.761780104712043!(ne)$);\coordinate (c640x) at ($(sw)!0.636842105263157!(ne)$);\coordinate (c640y) at ($(sw)!0.777486910994766!(ne)$);\coordinate (c644x) at ($(sw)!0.607894736842106!(ne)$);\coordinate (c644y) at ($(sw)!0.782722513089005!(ne)$);\coordinate (c648x) at ($(sw)!0.578947368421052!(ne)$);\coordinate (c648y) at ($(sw)!0.777486910994766!(ne)$);\coordinate (c652x) at ($(sw)!0.550000000000001!(ne)$);\coordinate (c652y) at ($(sw)!0.761780104712043!(ne)$);\coordinate (c656x) at ($(sw)!0.547368421052632!(ne)$);\coordinate (c656y) at ($(sw)!0.662303664921466!(ne)$);\coordinate (c660x) at ($(sw)!0.49736842105263!(ne)$);\coordinate (c660y) at ($(sw)!0.649214659685863!(ne)$);\coordinate (c664x) at ($(sw)!0.452631578947368!(ne)$);\coordinate (c664y) at ($(sw)!0.623036649214661!(ne)$);\coordinate (c668x) at ($(sw)!0.365789473684209!(ne)$);\coordinate (c668y) at ($(sw)!0.701570680628274!(ne)$);\coordinate (c672x) at ($(sw)!0.336842105263158!(ne)$);\coordinate (c672y) at ($(sw)!0.691099476439792!(ne)$);\coordinate (c676x) at ($(sw)!0.31578947368421!(ne)$);\coordinate (c676y) at ($(sw)!0.675392670157068!(ne)$);\coordinate (c680x) at ($(sw)!0.294736842105264!(ne)$);\coordinate (c680y) at ($(sw)!0.649214659685863!(ne)$);\coordinate (c684x) at ($(sw)!0.289473684210527!(ne)$);\coordinate (c684y) at ($(sw)!0.62041884816754!(ne)$);\coordinate (c688x) at ($(sw)!0.365789473684209!(ne)$);\coordinate (c688y) at ($(sw)!0.534031413612566!(ne)$);\coordinate (c692x) at ($(sw)!0.347368421052632!(ne)$);\coordinate (c692y) at ($(sw)!0.49476439790576!(ne)$);\coordinate (c696x) at ($(sw)!0.33421052631579!(ne)$);\coordinate (c696y) at ($(sw)!0.452879581151832!(ne)$);\coordinate (c700x) at ($(sw)!0.234210526315788!(ne)$);\coordinate (c700y) at ($(sw)!0.445026178010473!(ne)$);\coordinate (c704x) at ($(sw)!0.21842105263158!(ne)$);\coordinate (c704y) at ($(sw)!0.421465968586388!(ne)$);\coordinate (c708x) at ($(sw)!0.215789473684211!(ne)$);\coordinate (c708y) at ($(sw)!0.392670157068063!(ne)$);\coordinate (c712x) at ($(sw)!0.21842105263158!(ne)$);\coordinate (c712y) at ($(sw)!0.363874345549739!(ne)$);\coordinate (c716x) at ($(sw)!0.234210526315788!(ne)$);\coordinate (c716y) at ($(sw)!0.337696335078534!(ne)$);\coordinate (c720x) at ($(sw)!0.33421052631579!(ne)$);\coordinate (c720y) at ($(sw)!0.332460732984293!(ne)$);\coordinate (c724x) at ($(sw)!0.347368421052632!(ne)$);\coordinate (c724y) at ($(sw)!0.293193717277488!(ne)$);\coordinate (c728x) at ($(sw)!0.363157894736841!(ne)$);\coordinate (c728y) at ($(sw)!0.259162303664921!(ne)$);\coordinate (c732x) at ($(sw)!0.289473684210527!(ne)$);\coordinate (c732y) at ($(sw)!0.17539267015707!(ne)$);\coordinate (c736x) at ($(sw)!0.294736842105264!(ne)$);\coordinate (c736y) at ($(sw)!0.146596858638744!(ne)$);\coordinate (c740x) at ($(sw)!0.31578947368421!(ne)$);\coordinate (c740y) at ($(sw)!0.120418848167541!(ne)$);\coordinate (c744x) at ($(sw)!0.336842105263158!(ne)$);\coordinate (c744y) at ($(sw)!0.104712041884818!(ne)$);\coordinate (c748x) at ($(sw)!0.365789473684209!(ne)$);\coordinate (c748y) at ($(sw)!0.0994764397905771!(ne)$);\coordinate (c752x) at ($(sw)!0.442105263157894!(ne)$);\coordinate (c752y) at ($(sw)!0.164921465968588!(ne)$);\coordinate (c756x) at ($(sw)!0.492105263157896!(ne)$);\coordinate (c756y) at ($(sw)!0.136125654450262!(ne)$);\coordinate (c760x) at ($(sw)!0.547368421052632!(ne)$);\coordinate (c760y) at ($(sw)!0.117801047120421!(ne)$);\coordinate (c764x) at ($(sw)!0.550000000000001!(ne)$);\coordinate (c764y) at ($(sw)!0.0235602094240846!(ne)$);\coordinate (c768x) at ($(sw)!0.578947368421052!(ne)$);\coordinate (c768y) at ($(sw)!0.00785340314136155!(ne)$);\coordinate (c772x) at ($(sw)!0.607894736842106!(ne)$);\coordinate (c772y) at ($(sw)!0!(ne)$);\coordinate (c776x) at ($(sw)!0.636842105263157!(ne)$);\coordinate (c776y) at ($(sw)!0.00785340314136155!(ne)$);\coordinate (c780x) at ($(sw)!0.663157894736842!(ne)$);\coordinate (c780y) at ($(sw)!0.0235602094240846!(ne)$);\coordinate (c784x) at ($(sw)!0.668421052631579!(ne)$);\coordinate (c784y) at ($(sw)!0.117801047120421!(ne)$);\coordinate (c788x) at ($(sw)!0.710526315789473!(ne)$);\coordinate (c788y) at ($(sw)!0.133507853403141!(ne)$);\coordinate (c792x) at ($(sw)!0.750000000000001!(ne)$);\coordinate (c792y) at ($(sw)!0.154450261780105!(ne)$);\coordinate (c796x) at ($(sw)!0.815789473684211!(ne)$);\coordinate (c796y) at ($(sw)!0.0994764397905771!(ne)$);\coordinate (c800x) at ($(sw)!0.844736842105262!(ne)$);\coordinate (c800y) at ($(sw)!0.104712041884818!(ne)$);\coordinate (c804x) at ($(sw)!0.86578947368421!(ne)$);\coordinate (c804y) at ($(sw)!0.120418848167541!(ne)$);\coordinate (c808x) at ($(sw)!0.88421052631579!(ne)$);\coordinate (c808y) at ($(sw)!0.146596858638744!(ne)$);\coordinate (c812x) at ($(sw)!0.892105263157893!(ne)$);\coordinate (c812y) at ($(sw)!0.17539267015707!(ne)$);\coordinate (c816x) at ($(sw)!0.836842105263157!(ne)$);\coordinate (c816y) at ($(sw)!0.235602094240839!(ne)$);\coordinate (c820x) at ($(sw)!0.863157894736842!(ne)$);\coordinate (c820y) at ($(sw)!0.280104712041885!(ne)$);\coordinate (c824x) at ($(sw)!0.878947368421053!(ne)$);\coordinate (c824y) at ($(sw)!0.332460732984293!(ne)$);\coordinate (c828x) at ($(sw)!0.976315789473683!(ne)$);\coordinate (c828y) at ($(sw)!0.337696335078534!(ne)$);\coordinate (c832x) at ($(sw)!0.992105263157895!(ne)$);\coordinate (c832y) at ($(sw)!0.363874345549739!(ne)$);\coordinate (c836x) at ($(sw)!1!(ne)$);\coordinate (c836y) at ($(sw)!0.392670157068063!(ne)$);\coordinate (c840x) at ($(sw)!0.992105263157895!(ne)$);\coordinate (c840y) at ($(sw)!0.421465968586388!(ne)$);\coordinate (c844x) at ($(sw)!0.976315789473683!(ne)$);\coordinate (c844y) at ($(sw)!0.445026178010473!(ne)$);\coordinate (c848x) at ($(sw)!0.878947368421053!(ne)$);\coordinate (c848y) at ($(sw)!0.452879581151832!(ne)$);\coordinate (c852x) at ($(sw)!0.863157894736842!(ne)$);\coordinate (c852y) at ($(sw)!0.505235602094242!(ne)$);\coordinate (c856x) at ($(sw)!0.834210526315788!(ne)$);\coordinate (c856y) at ($(sw)!0.55497382198953!(ne)$);
651 \draw [fill=#1] (c601x |- c601y) -- (c604x |- c604y) -- (c608x |- c608y) -- (c612x |- c612y) -- (c616x |- c616y) -- (c620x |- c620y) -- (c624x |- c624y) -- (c628x |- c628y) -- (c632x |- c632y) -- (c636x |- c636y) -- (c640x |- c640y) -- (c644x |- c644y) -- (c648x |- c648y) -- (c652x |- c652y) -- (c656x |- c656y) -- (c660x |- c660y) -- (c664x |- c664y) -- (c668x |- c668y) -- (c672x |- c672y) -- (c676x |- c676y) -- (c680x |- c680y) -- (c684x |- c684y) -- (c688x |- c688y) -- (c692x |- c692y) -- (c696x |- c696y) -- (c700x |- c700y) -- (c704x |- c704y) -- (c708x |- c708y) -- (c712x |- c712y) -- (c716x |- c716y) -- (c720x |- c720y) -- (c724x |- c724y) -- (c728x |- c728y) -- (c732x |- c732y) -- (c736x |- c736y) -- (c740x |- c740y) -- (c744x |- c744y) -- (c748x |- c748y) -- (c752x |- c752y) -- (c756x |- c756y) -- (c760x |- c760y) -- (c764x |- c764y) -- (c768x |- c768y) -- (c772x |- c772y) -- (c776x |- c776y) -- (c780x |- c780y) -- (c784x |- c784y) -- (c788x |- c788y) -- (c792x |- c792y) -- (c796x |- c796y) -- (c800x |- c800y) -- (c804x |- c804y) -- (c808x |- c808y) -- (c812x |- c812y) -- (c816x |- c816y) -- (c820x |- c820y) -- (c824x |- c824y) -- (c828x |- c828y) -- (c832x |- c832y) -- (c836x |- c836y) -- (c840x |- c840y) -- (c844x |- c844y) -- (c848x |- c848y) -- (c852x |- c852y) -- (c856x |- c856y) -- cycle;
652 \coordinate (c901x) at ($(sw)!0.694736842105262!(ne)$);\coordinate (c901y) at ($(sw)!0.455497382198952!(ne)$);\coordinate (c904x) at ($(sw)!0.71578947368421!(ne)$);\coordinate (c904y) at ($(sw)!0.481675392670158!(ne)$);\coordinate (c908x) at ($(sw)!0.71578947368421!(ne)$);\coordinate (c908y) at ($(sw)!0.49476439790576!(ne)$);\coordinate (c912x) at ($(sw)!0.710526315789473!(ne)$);\coordinate (c912y) at ($(sw)!0.502617801047122!(ne)$);\coordinate (c916x) at ($(sw)!0.699999999999999!(ne)$);\coordinate (c916y) at ($(sw)!0.510471204188483!(ne)$);\coordinate (c920x) at ($(sw)!0.686842105263159!(ne)$);\coordinate (c920y) at ($(sw)!0.510471204188483!(ne)$);\coordinate (c924x) at ($(sw)!0.657894736842105!(ne)$);\coordinate (c924y) at ($(sw)!0.486910994764399!(ne)$);\coordinate (c928x) at ($(sw)!0.628947368421051!(ne)$);\coordinate (c928y) at ($(sw)!0.497382198952881!(ne)$);\coordinate (c932x) at ($(sw)!0.626315789473683!(ne)$);\coordinate (c932y) at ($(sw)!0.534031413612566!(ne)$);\coordinate (c936x) at ($(sw)!0.61842105263158!(ne)$);\coordinate (c936y) at ($(sw)!0.541884816753927!(ne)$);\coordinate (c940x) at ($(sw)!0.607894736842106!(ne)$);\coordinate (c940y) at ($(sw)!0.544502617801048!(ne)$);\coordinate (c944x) at ($(sw)!0.594736842105263!(ne)$);\coordinate (c944y) at ($(sw)!0.541884816753927!(ne)$);\coordinate (c948x) at ($(sw)!0.586842105263157!(ne)$);\coordinate (c948y) at ($(sw)!0.534031413612566!(ne)$);\coordinate (c952x) at ($(sw)!0.58157894736842!(ne)$);\coordinate (c952y) at ($(sw)!0.497382198952881!(ne)$);\coordinate (c956x) at ($(sw)!0.563157894736841!(ne)$);\coordinate (c956y) at ($(sw)!0.489528795811519!(ne)$);\coordinate (c960x) at ($(sw)!0.547368421052632!(ne)$);\coordinate (c960y) at ($(sw)!0.481675392670158!(ne)$);\coordinate (c964x) at ($(sw)!0.513157894736841!(ne)$);\coordinate (c964y) at ($(sw)!0.510471204188483!(ne)$);\coordinate (c968x) at ($(sw)!0.502631578947367!(ne)$);\coordinate (c968y) at ($(sw)!0.510471204188483!(ne)$);\coordinate (c972x) at ($(sw)!0.492105263157896!(ne)$);\coordinate (c972y) at ($(sw)!0.502617801047122!(ne)$);\coordinate (c976x) at ($(sw)!0.486842105263159!(ne)$);\coordinate (c976y) at ($(sw)!0.49476439790576!(ne)$);\coordinate (c980x) at ($(sw)!0.48421052631579!(ne)$);\coordinate (c980y) at ($(sw)!0.481675392670158!(ne)$);\coordinate (c984x) at ($(sw)!0.513157894736841!(ne)$);\coordinate (c984y) at ($(sw)!0.445026178010473!(ne)$);\coordinate (c988x) at ($(sw)!0.499999999999999!(ne)$);\coordinate (c988y) at ($(sw)!0.413612565445027!(ne)$);\coordinate (c992x) at ($(sw)!0.460526315789473!(ne)$);\coordinate (c992y) at ($(sw)!0.413612565445027!(ne)$);\coordinate (c996x) at ($(sw)!0.457894736842105!(ne)$);\coordinate (c996y) at ($(sw)!0.400523560209424!(ne)$);\coordinate (c1000x) at ($(sw)!0.455263157894736!(ne)$);\coordinate (c1000y) at ($(sw)!0.392670157068063!(ne)$);\coordinate (c1004x) at ($(sw)!0.457894736842105!(ne)$);\coordinate (c1004y) at ($(sw)!0.379581151832462!(ne)$);\coordinate (c1008x) at ($(sw)!0.460526315789473!(ne)$);\coordinate (c1008y) at ($(sw)!0.36910994764398!(ne)$);\coordinate (c1012x) at ($(sw)!0.499999999999999!(ne)$);\coordinate (c1012y) at ($(sw)!0.36649214659686!(ne)$);\coordinate (c1016x) at ($(sw)!0.513157894736841!(ne)$);\coordinate (c1016y) at ($(sw)!0.340314136125655!(ne)$);\coordinate (c1020x) at ($(sw)!0.48421052631579!(ne)$);\coordinate (c1020y) at ($(sw)!0.308900523560211!(ne)$);\coordinate (c1024x) at ($(sw)!0.486842105263159!(ne)$);\coordinate (c1024y) at ($(sw)!0.295811518324608!(ne)$);\coordinate (c1028x) at ($(sw)!0.492105263157896!(ne)$);\coordinate (c1028y) at ($(sw)!0.287958115183247!(ne)$);\coordinate (c1032x) at ($(sw)!0.502631578947367!(ne)$);\coordinate (c1032y) at ($(sw)!0.280104712041885!(ne)$);\coordinate (c1036x) at ($(sw)!0.513157894736841!(ne)$);\coordinate (c1036y) at ($(sw)!0.277486910994765!(ne)$);\coordinate (c1040x) at ($(sw)!0.544736842105264!(ne)$);\coordinate (c1040y) at ($(sw)!0.30366492146597!(ne)$);\coordinate (c1044x) at ($(sw)!0.563157894736841!(ne)$);\coordinate (c1044y) at ($(sw)!0.293193717277488!(ne)$);\coordinate (c1048x) at ($(sw)!0.58157894736842!(ne)$);\coordinate (c1048y) at ($(sw)!0.287958115183247!(ne)$);\coordinate (c1052x) at ($(sw)!0.586842105263157!(ne)$);\coordinate (c1052y) at ($(sw)!0.248691099476442!(ne)$);\coordinate (c1056x) at ($(sw)!0.594736842105263!(ne)$);\coordinate (c1056y) at ($(sw)!0.243455497382201!(ne)$);\coordinate (c1060x) at ($(sw)!0.607894736842106!(ne)$);\coordinate (c1060y) at ($(sw)!0.23821989528796!(ne)$);\coordinate (c1064x) at ($(sw)!0.61842105263158!(ne)$);\coordinate (c1064y) at ($(sw)!0.243455497382201!(ne)$);\coordinate (c1068x) at ($(sw)!0.626315789473683!(ne)$);\coordinate (c1068y) at ($(sw)!0.248691099476442!(ne)$);\coordinate (c1072x) at ($(sw)!0.628947368421051!(ne)$);\coordinate (c1072y) at ($(sw)!0.287958115183247!(ne)$);\coordinate (c1076x) at ($(sw)!0.663157894736842!(ne)$);\coordinate (c1076y) at ($(sw)!0.298429319371729!(ne)$);\coordinate (c1080x) at ($(sw)!0.686842105263159!(ne)$);\coordinate (c1080y) at ($(sw)!0.277486910994765!(ne)$);\coordinate (c1084x) at ($(sw)!0.699999999999999!(ne)$);\coordinate (c1084y) at ($(sw)!0.280104712041885!(ne)$);\coordinate (c1088x) at ($(sw)!0.710526315789473!(ne)$);\coordinate (c1088y) at ($(sw)!0.287958115183247!(ne)$);\coordinate (c1092x) at ($(sw)!0.71578947368421!(ne)$);\coordinate (c1092y) at ($(sw)!0.295811518324608!(ne)$);\coordinate (c1096x) at ($(sw)!0.71578947368421!(ne)$);\coordinate (c1096y) at ($(sw)!0.308900523560211!(ne)$);\coordinate (c1100x) at ($(sw)!0.69736842105263!(ne)$);\coordinate (c1100y) at ($(sw)!0.332460732984293!(ne)$);\coordinate (c1104x) at ($(sw)!0.705263157894736!(ne)$);\coordinate (c1104y) at ($(sw)!0.348167539267016!(ne)$);\coordinate (c1108x) at ($(sw)!0.713157894736841!(ne)$);\coordinate (c1108y) at ($(sw)!0.36910994764398!(ne)$);\coordinate (c1112x) at ($(sw)!0.750000000000001!(ne)$);\coordinate (c1112y) at ($(sw)!0.36910994764398!(ne)$);\coordinate (c1116x) at ($(sw)!0.757894736842104!(ne)$);\coordinate (c1116y) at ($(sw)!0.379581151832462!(ne)$);\coordinate (c1120x) at ($(sw)!0.760526315789472!(ne)$);\coordinate (c1120y) at ($(sw)!0.392670157068063!(ne)$);\coordinate (c1124x) at ($(sw)!0.757894736842104!(ne)$);\coordinate (c1124y) at ($(sw)!0.400523560209424!(ne)$);\coordinate (c1128x) at ($(sw)!0.750000000000001!(ne)$);\coordinate (c1128y) at ($(sw)!0.413612565445027!(ne)$);\coordinate (c1132x) at ($(sw)!0.713157894736841!(ne)$);\coordinate (c1132y) at ($(sw)!0.413612565445027!(ne)$);\coordinate (c1136x) at ($(sw)!0.705263157894736!(ne)$);\coordinate (c1136y) at ($(sw)!0.437172774869111!(ne)$);\coordinate (c1140x) at ($(sw)!0.694736842105262!(ne)$);\coordinate (c1140y) at ($(sw)!0.455497382198952!(ne)$);
653 \draw (c901x |- c901y) -- (c904x |- c904y) -- (c908x |- c908y) -- (c912x |- c912y) -- (c916x |- c916y) -- (c920x |- c920y) -- (c924x |- c924y) -- (c928x |- c928y) -- (c932x |- c932y) -- (c936x |- c936y) -- (c940x |- c940y) -- (c944x |- c944y) -- (c948x |- c948y) -- (c952x |- c952y) -- (c956x |- c956y) -- (c960x |- c960y) -- (c964x |- c964y) -- (c968x |- c968y) -- (c972x |- c972y) -- (c976x |- c976y) -- (c980x |- c980y) -- (c984x |- c984y) -- (c988x |- c988y) -- (c992x |- c992y) -- (c996x |- c996y) -- (c1000x |- c1000y) -- (c1004x |- c1004y) -- (c1008x |- c1008y) -- (c1012x |- c1012y) -- (c1016x |- c1016y) -- (c1020x |- c1020y) -- (c1024x |- c1024y) -- (c1028x |- c1028y) -- (c1032x |- c1032y) -- (c1036x |- c1036y) -- (c1040x |- c1040y) -- (c1044x |- c1044y) -- (c1048x |- c1048y) -- (c1052x |- c1052y) -- (c1056x |- c1056y) -- (c1060x |- c1060y) -- (c1064x |- c1064y) -- (c1068x |- c1068y) -- (c1072x |- c1072y) -- (c1076x |- c1076y) -- (c1080x |- c1080y) -- (c1084x |- c1084y) -- (c1088x |- c1088y) -- (c1092x |- c1092y) -- (c1096x |- c1096y) -- (c1100x |- c1100y) -- (c1104x |- c1104y) -- (c1108x |- c1108y) -- (c1112x |- c1112y) -- (c1116x |- c1116y) -- (c1120x |- c1120y) -- (c1124x |- c1124y) -- (c1128x |- c1128y) -- (c1132x |- c1132y) -- (c1136x |- c1136y) -- (c1140x |- c1140y);
654 }
655 ]
656
657 \tikzstyle{draw manual} = [
658 path picture = {
659 \coordinate (ne) at ($(path picture bounding box.north east)-(0.5pt,0.5pt)$);
660 \coordinate (sw) at ($(path picture bounding box.south west)+(0.5pt,0.5pt)$);
661 %\draw (path picture bounding box.north east) rectangle (path picture bounding box.south west);
662 \coordinate (c1x) at ($(sw)!0.70189701897019!(ne)$);
663 \coordinate (c2x) at ($(sw)!0.520325203252032!(ne)$);
664 \coordinate (c3x) at ($(sw)!0.51219512195122!(ne)$);
665 \coordinate (c4x) at ($(sw)!0.506775067750678!(ne)$);
666 \coordinate (c5x) at ($(sw)!0.51219512195122!(ne)$);
667 \coordinate (c6x) at ($(sw)!0.520325203252032!(ne)$);
668 \coordinate (c7x) at ($(sw)!0.905149051490515!(ne)$);
669 \coordinate (c8x) at ($(sw)!0.932249322493225!(ne)$);
670 \coordinate (c9x) at ($(sw)!0.956639566395664!(ne)$);
671 \coordinate (c10x) at ($(sw)!0.975609756097561!(ne)$);
672 \coordinate (c11x) at ($(sw)!0.994579945799458!(ne)$);
673 \coordinate (c12x) at ($(sw)!1!(ne)$);
674 \coordinate (c13x) at ($(sw)!0.986449864498645!(ne)$);
675 \coordinate (c14x) at ($(sw)!0.97289972899729!(ne)$);
676 \coordinate (c15x) at ($(sw)!0.959349593495935!(ne)$);
677 \coordinate (c16x) at ($(sw)!0.284552845528455!(ne)$);
678 \coordinate (c17x) at ($(sw)!0.314363143631436!(ne)$);
679 \coordinate (c18x) at ($(sw)!0.485094850948509!(ne)$);
680 \coordinate (c19x) at ($(sw)!0.528455284552846!(ne)$);
681 \coordinate (c20x) at ($(sw)!0.563685636856369!(ne)$);
682 \coordinate (c21x) at ($(sw)!0.590785907859079!(ne)$);
683 \coordinate (c22x) at ($(sw)!0.590785907859079!(ne)$);
684 \coordinate (c23x) at ($(sw)!0.582655826558266!(ne)$);
685 \coordinate (c24x) at ($(sw)!0.168021680216802!(ne)$);
686 \coordinate (c25x) at ($(sw)!0!(ne)$);
687 \coordinate (c26x) at ($(sw)!0!(ne)$);
688 \coordinate (c27x) at ($(sw)!0.0921409214092141!(ne)$);
689 \coordinate (c28x) at ($(sw)!0.769647696476965!(ne)$);
690 \coordinate (c29x) at ($(sw)!0.794037940379404!(ne)$);
691 \coordinate (c30x) at ($(sw)!0.815718157181572!(ne)$);
692 \coordinate (c31x) at ($(sw)!0.831978319783198!(ne)$);
693 \coordinate (c32x) at ($(sw)!0.840108401084011!(ne)$);
694 \coordinate (c33x) at ($(sw)!0.826558265582656!(ne)$);
695 \coordinate (c34x) at ($(sw)!0.799457994579946!(ne)$);
696 \coordinate (c35x) at ($(sw)!0.669376693766938!(ne)$);
697 \coordinate (c36x) at ($(sw)!0.650406504065041!(ne)$);
698 \coordinate (c37x) at ($(sw)!0.542005420054201!(ne)$);
699 \coordinate (c38x) at ($(sw)!0.531165311653117!(ne)$);
700 \coordinate (c39x) at ($(sw)!0.528455284552846!(ne)$);
701 \coordinate (c40x) at ($(sw)!0.531165311653117!(ne)$);
702 \coordinate (c41x) at ($(sw)!0.542005420054201!(ne)$);
703 \coordinate (c42x) at ($(sw)!0.688346883468834!(ne)$);
704 \coordinate (c43x) at ($(sw)!0.823848238482385!(ne)$);
705 \coordinate (c44x) at ($(sw)!0.853658536585366!(ne)$);
706 \coordinate (c45x) at ($(sw)!0.875338753387534!(ne)$);
707 \coordinate (c46x) at ($(sw)!0.894308943089431!(ne)$);
708 \coordinate (c47x) at ($(sw)!0.910569105691057!(ne)$);
709 \coordinate (c48x) at ($(sw)!0.921409214092141!(ne)$);
710 \coordinate (c49x) at ($(sw)!0.905149051490515!(ne)$);
711 \coordinate (c50x) at ($(sw)!0.894308943089431!(ne)$);
712 \coordinate (c51x) at ($(sw)!0.880758807588076!(ne)$);
713 \coordinate (c52x) at ($(sw)!0.550135501355014!(ne)$);
714 \coordinate (c53x) at ($(sw)!0.542005420054201!(ne)$);
715 \coordinate (c54x) at ($(sw)!0.536585365853658!(ne)$);
716 \coordinate (c55x) at ($(sw)!0.542005420054201!(ne)$);
717 \coordinate (c56x) at ($(sw)!0.550135501355014!(ne)$);
718 \coordinate (c57x) at ($(sw)!0.688346883468834!(ne)$);
719 \coordinate (c58x) at ($(sw)!0.70189701897019!(ne)$);
720 \coordinate (c59x) at ($(sw)!0.856368563685637!(ne)$);
721 \coordinate (c60x) at ($(sw)!0.888888888888889!(ne)$);
722 \coordinate (c61x) at ($(sw)!0.91869918699187!(ne)$);
723 \coordinate (c62x) at ($(sw)!0.940379403794038!(ne)$);
724 \coordinate (c63x) at ($(sw)!0.959349593495935!(ne)$);
725 \coordinate (c64x) at ($(sw)!0.970189701897019!(ne)$);
726 \coordinate (c65x) at ($(sw)!0.953929539295393!(ne)$);
727 \coordinate (c66x) at ($(sw)!0.937669376693767!(ne)$);
728 \coordinate (c67x) at ($(sw)!0.924119241192412!(ne)$);
729 \coordinate (c68x) at ($(sw)!0.70189701897019!(ne)$);
730 \coordinate (c1y) at ($(sw)!0.73657094216209!(ne)$);
731 \coordinate (c2y) at ($(sw)!0.73657094216209!(ne)$);
732 \coordinate (c3y) at ($(sw)!0.741947045383272!(ne)$);
733 \coordinate (c4y) at ($(sw)!0.752699251825636!(ne)$);
734 \coordinate (c5y) at ($(sw)!0.760763406657407!(ne)$);
735 \coordinate (c6y) at ($(sw)!0.763451458268!(ne)$);
736 \coordinate (c7y) at ($(sw)!0.763451458268!(ne)$);
737 \coordinate (c8y) at ($(sw)!0.768827561489182!(ne)$);
738 \coordinate (c9y) at ($(sw)!0.774203664710364!(ne)$);
739 \coordinate (c10y) at ($(sw)!0.787643922763317!(ne)$);
740 \coordinate (c11y) at ($(sw)!0.803772232426863!(ne)$);
741 \coordinate (c12y) at ($(sw)!0.82796469692218!(ne)$);
742 \coordinate (c13y) at ($(sw)!0.862909367859866!(ne)$);
743 \coordinate (c14y) at ($(sw)!0.873661574302225!(ne)$);
744 \coordinate (c15y) at ($(sw)!0.879037677523407!(ne)$);
745 \coordinate (c16y) at ($(sw)!0.879037677523407!(ne)$);
746 \coordinate (c17y) at ($(sw)!0.895165987186953!(ne)$);
747 \coordinate (c18y) at ($(sw)!0.895165987186953!(ne)$);
748 \coordinate (c19y) at ($(sw)!0.905918193629317!(ne)$);
749 \coordinate (c20y) at ($(sw)!0.924734554903457!(ne)$);
750 \coordinate (c21y) at ($(sw)!0.956991174230544!(ne)$);
751 \coordinate (c22y) at ($(sw)!0.981183638725865!(ne)$);
752 \coordinate (c23y) at ($(sw)!1!(ne)$);
753 \coordinate (c24y) at ($(sw)!1!(ne)$);
754 \coordinate (c25y) at ($(sw)!0.879037677523407!(ne)$);
755 \coordinate (c26y) at ($(sw)!0.427445006944135!(ne)$);
756 \coordinate (c27y) at ($(sw)!0.376372026342908!(ne)$);
757 \coordinate (c28y) at ($(sw)!0.376372026342908!(ne)$);
758 \coordinate (c29y) at ($(sw)!0.379060077953497!(ne)$);
759 \coordinate (c30y) at ($(sw)!0.392500336006455!(ne)$);
760 \coordinate (c31y) at ($(sw)!0.403252542448814!(ne)$);
761 \coordinate (c32y) at ($(sw)!0.422068903722953!(ne)$);
762 \coordinate (c33y) at ($(sw)!0.448949419828863!(ne)$);
763 \coordinate (c34y) at ($(sw)!0.459701626271228!(ne)$);
764 \coordinate (c35y) at ($(sw)!0.459701626271228!(ne)$);
765 \coordinate (c36y) at ($(sw)!0.46507772949241!(ne)$);
766 \coordinate (c37y) at ($(sw)!0.46507772949241!(ne)$);
767 \coordinate (c38y) at ($(sw)!0.467765781102998!(ne)$);
768 \coordinate (c39y) at ($(sw)!0.478517987545362!(ne)$);
769 \coordinate (c40y) at ($(sw)!0.486582142377133!(ne)$);
770 \coordinate (c41y) at ($(sw)!0.494646297208908!(ne)$);
771 \coordinate (c42y) at ($(sw)!0.494646297208908!(ne)$);
772 \coordinate (c43y) at ($(sw)!0.486582142377133!(ne)$);
773 \coordinate (c44y) at ($(sw)!0.489270193987726!(ne)$);
774 \coordinate (c45y) at ($(sw)!0.497334348819497!(ne)$);
775 \coordinate (c46y) at ($(sw)!0.510774606872454!(ne)$);
776 \coordinate (c47y) at ($(sw)!0.524214864925407!(ne)$);
777 \coordinate (c48y) at ($(sw)!0.543031226199542!(ne)$);
778 \coordinate (c49y) at ($(sw)!0.575287845526634!(ne)$);
779 \coordinate (c50y) at ($(sw)!0.586040051968998!(ne)$);
780 \coordinate (c51y) at ($(sw)!0.59141615519018!(ne)$);
781 \coordinate (c52y) at ($(sw)!0.59141615519018!(ne)$);
782 \coordinate (c53y) at ($(sw)!0.594104206800774!(ne)$);
783 \coordinate (c54y) at ($(sw)!0.604856413243132!(ne)$);
784 \coordinate (c55y) at ($(sw)!0.615608619685497!(ne)$);
785 \coordinate (c56y) at ($(sw)!0.620984722906679!(ne)$);
786 \coordinate (c57y) at ($(sw)!0.620984722906679!(ne)$);
787 \coordinate (c58y) at ($(sw)!0.623672774517272!(ne)$);
788 \coordinate (c59y) at ($(sw)!0.620984722906679!(ne)$);
789 \coordinate (c60y) at ($(sw)!0.623672774517272!(ne)$);
790 \coordinate (c61y) at ($(sw)!0.631736929349043!(ne)$);
791 \coordinate (c62y) at ($(sw)!0.642489135791407!(ne)$);
792 \coordinate (c63y) at ($(sw)!0.661305497065547!(ne)$);
793 \coordinate (c64y) at ($(sw)!0.68280990995027!(ne)$);
794 \coordinate (c65y) at ($(sw)!0.717754580887955!(ne)$);
795 \coordinate (c66y) at ($(sw)!0.731194838940908!(ne)$);
796 \coordinate (c67y) at ($(sw)!0.739258993772679!(ne)$);
797 \coordinate (c68y) at ($(sw)!0.739258993772679!(ne)$);
798 \draw[line width=0.1pt, line cap=rect,line join=round]
799 (c1x |- c1y) -- (c2x |- c2y)-- (c3x |- c3y)-- (c4x |- c4y)-- (c5x |- c5y)-- (c6x |- c6y)-- (c7x |- c7y)-- (c8x |- c8y)-- (c9x |- c9y)-- (c10x |- c10y)-- (c11x |- c11y)-- (c12x |- c12y)-- (c13x |- c13y)-- (c14x |- c14y)-- (c15x |- c15y)-- (c16x |- c16y)-- (c17x |- c17y)-- (c18x |- c18y)-- (c19x |- c19y)-- (c20x |- c20y)-- (c21x |- c21y)-- (c22x |- c22y)-- (c23x |- c23y)-- (c24x |- c24y)-- (c25x |- c25y)-- (c26x |- c26y)-- (c27x |- c27y)-- (c28x |- c28y)-- (c29x |- c29y)-- (c30x |- c30y)-- (c31x |- c31y)-- (c32x |- c32y)-- (c33x |- c33y)-- (c34x |- c34y)-- (c35x |- c35y)-- (c36x |- c36y)-- (c37x |- c37y)-- (c38x |- c38y)-- (c39x |- c39y)-- (c40x |- c40y)-- (c41x |- c41y)-- (c42x |- c42y)-- (c43x |- c43y)-- (c44x |- c44y)-- (c45x |- c45y)-- (c46x |- c46y)-- (c47x |- c47y)-- (c48x |- c48y)-- (c49x |- c49y)-- (c50x |- c50y)-- (c51x |- c51y)-- (c52x |- c52y)-- (c53x |- c53y)-- (c54x |- c54y)-- (c55x |- c55y)-- (c56x |- c56y)-- (c57x |- c57y)-- (c58x |- c58y)-- (c59x |- c59y)-- (c60x |- c60y)-- (c61x |- c61y)-- (c62x |- c62y)-- (c63x |- c63y)-- (c64x |- c64y)-- (c65x |- c65y)-- (c66x |- c66y)-- (c67x |- c67y)-- (c68x |- c68y);
800 }
801 ]
802
803 \tikzstyle{draw script} = [
804 path picture = {
805 \def\de{40} %degrees
806 \def\ma{0.2} %margin
807 \coordinate (a1) at ($(path picture bounding box.east)!{sin(\de)-\ma}!(path picture bounding box.north east)$);
808 \coordinate (a2) at ($(path picture bounding box.center)!{cos(\de)-\ma}!(path picture bounding box.east)$);
809 %\coordinate (ne) at (4.323838pt, -0.8041138pt);
810 %\coordinate (sw) at (0.7419678pt, -4.077197pt);
811 \coordinate (ne) at ($(path picture bounding box.north east)-(0.5pt,0.5pt)$);
812 \coordinate (sw) at ($(path picture bounding box.south west)+(0.5pt,0.5pt)$);
813 \coordinate (sm) at ($(sw)!0.6793108!(ne |- sw)$); %south middle: lower right corner
814 \coordinate (nm) at ($(ne)!0.6793108!(ne -| sw)$); %north middle: top left corner
815 \coordinate (l1) at ($(ne)!0.20377!(sw)$);
816 \coordinate (l2) at ($(ne)!0.4!(sw)$);
817 \coordinate (l3) at ($(ne)!0.626414!(sw)$);
818 \coordinate (l4) at ($(ne)!0.826416!(sw)$);
819 \coordinate (linestart12) at ($(sw)!0.179310!(ne)$);
820 \coordinate (lineend12) at ($(sw)!0.637931!(ne)$);
821 \coordinate (linestart3) at ($(sw)!0.2965524!(ne)$);
822 \coordinate (lineend3) at ($(sw)!0.751723!(ne)$);
823 \coordinate (linestart4) at ($(sw)!0.286207!(ne)$);
824 \coordinate (lineend4) at ($(sw)!0.74137868!(ne)$);
825 \coordinate (em) at ($(ne)!0.4792457!(sw)$);
826 \coordinate (bezierright) at ($(sw)!0.7793097!(ne)$);
827 \coordinate (bezierleft) at ($(sw)!0.0965516!(ne)$);
828 \coordinate (b11x) at ($(sw)!0.632702!(ne)$);
829 \coordinate (b11y) at ($(ne)!0.219119!(sw)$);
830 \coordinate (b12x) at ($(sw)!0.775287!(ne)$);
831 \coordinate (b12y) at ($(ne)!0.087421!(sw)$);
832 \coordinate (b21x) at ($(sw)!0.951148!(ne)$);
833 \coordinate (b21y) at ($(ne)!0.686793!(sw)$);
834 \coordinate (b22x) at ($(sw)!0.933448!(ne)$);
835 \coordinate (b22y) at ($(ne)!0.898365!(sw)$);
836 \coordinate (b31x) at ($(sw)!-0.051781!(ne)$);
837 \coordinate (b31y) at ($(ne)!0.220063!(sw)$);
838 \coordinate (b32x) at ($(sw)!0.092529!(ne)$);
839 \coordinate (b32y) at ($(ne)!0.084087!(sw)$);
840 \coordinate (b41x) at ($(sw)!0.265459!(ne)$);
841 \coordinate (b41y) at ($(ne)!0.694026!(sw)$);
842 \coordinate (b42x) at ($(sw)!0.250402!(ne)$);
843 \coordinate (b42y) at ($(ne)!0.886981!(sw)$);
844 \draw[line width=0.1pt, solid,line cap=round,line join=round]
845 (linestart12 |- l1) -- (lineend12 |- l1) %(302.6953pt, -147.1082pt)
846 (linestart12 |- l2) -- (lineend12 |- l2) %(302.6953pt, -211.3347pt)
847 (linestart3 |- l3) -- (lineend3 |- l3) %(343.4541pt, -285.4421pt)
848 (linestart4 |- l4) -- (lineend4 |- l4) %(339.749pt, -350.9043pt)
849 (ne) -- (nm) %top
850 (sw) -- (sm) %bottom
851 (bezierright |- em)
852 .. controls (b11x |- b11y) and (b12x |- b12y) ..
853 (ne)
854 (bezierright |- em)
855 .. controls (b21x |- b21y) and (b22x |- b22y) ..
856 (sm)
857 (bezierleft |- em)
858 .. controls (b31x |- b31y) and (b32x |- b32y) ..
859 (nm)
860 (bezierleft |- em)
861 .. controls (b41x |- b41y) and (b42x |- b42y) ..
862 (sw);
863 }
864 ]
865
866 \tikzstyle{draw user} = [
867 path picture = {
868 \coordinate (ne) at ($(path picture bounding box.north east)-(0.5pt,0.5pt)$);
869 \coordinate (sw) at ($(path picture bounding box.south west)+(0.5pt,0.5pt)$);
870 % \draw (path picture bounding box.north east) rectangle (path picture bounding box.south west);
871 \coordinate (c1x) at ($(sw)!0.67936507936508!(ne)$); \coordinate (c1y) at ($(sw)!0.527950310559006!(ne)$);
872 \coordinate (c2x) at ($(sw)!0.67936507936508!(ne)$); \coordinate (c2y) at ($(sw)!0.527950310559006!(ne)$);
873 \coordinate (c3x) at ($(sw)!0.67936507936508!(ne)$); \coordinate (c3y) at ($(sw)!0.527950310559006!(ne)$);
874 \coordinate (c4x) at ($(sw)!0.67936507936508!(ne)$); \coordinate (c4y) at ($(sw)!0.555905797101449!(ne)$);
875 \coordinate (c5x) at ($(sw)!0.67936507936508!(ne)$); \coordinate (c5y) at ($(sw)!0.555905797101449!(ne)$);
876 \coordinate (c6x) at ($(sw)!0.67936507936508!(ne)$); \coordinate (c6y) at ($(sw)!0.555905797101449!(ne)$);
877 \coordinate (c7x) at ($(sw)!0.67936507936508!(ne)$); \coordinate (c7y) at ($(sw)!0.555905797101449!(ne)$);
878 \coordinate (c8x) at ($(sw)!0.644444444444444!(ne)$); \coordinate (c8y) at ($(sw)!0.593167701863355!(ne)$);
879 \coordinate (c9x) at ($(sw)!0.644444444444444!(ne)$); \coordinate (c9y) at ($(sw)!0.593167701863355!(ne)$);
880 \coordinate (c10x) at ($(sw)!0.644444444444444!(ne)$); \coordinate (c10y) at ($(sw)!0.593167701863355!(ne)$);
881 \coordinate (c11x) at ($(sw)!0.644444444444444!(ne)$); \coordinate (c11y) at ($(sw)!0.593167701863355!(ne)$);
882 \coordinate (c12x) at ($(sw)!0.511111111111112!(ne)$); \coordinate (c12y) at ($(sw)!1!(ne)$);
883 \coordinate (c13x) at ($(sw)!0.511111111111112!(ne)$); \coordinate (c13y) at ($(sw)!1!(ne)$);
884 \coordinate (c14x) at ($(sw)!0.511111111111112!(ne)$); \coordinate (c14y) at ($(sw)!1!(ne)$);
885 \coordinate (c15x) at ($(sw)!0.371428571428571!(ne)$); \coordinate (c15y) at ($(sw)!0.593167701863355!(ne)$);
886 \coordinate (c16x) at ($(sw)!0.371428571428571!(ne)$); \coordinate (c16y) at ($(sw)!0.593167701863355!(ne)$);
887 \coordinate (c17x) at ($(sw)!0.371428571428571!(ne)$); \coordinate (c17y) at ($(sw)!0.593167701863355!(ne)$);
888 \coordinate (c18x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c18y) at ($(sw)!0.555905797101449!(ne)$);
889 \coordinate (c19x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c19y) at ($(sw)!0.555905797101449!(ne)$);
890 \coordinate (c20x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c20y) at ($(sw)!0.555905797101449!(ne)$);
891 \coordinate (c21x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c21y) at ($(sw)!0.555905797101449!(ne)$);
892 \coordinate (c22x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c22y) at ($(sw)!0.509316770186336!(ne)$);
893 \coordinate (c23x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c23y) at ($(sw)!0.509316770186336!(ne)$);
894 \coordinate (c24x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c24y) at ($(sw)!0.509316770186336!(ne)$);
895 \coordinate (c25x) at ($(sw)!0.336507936507936!(ne)$); \coordinate (c25y) at ($(sw)!0.509316770186336!(ne)$);
896 \coordinate (c26x) at ($(sw)!0.333333333333333!(ne)$); \coordinate (c26y) at ($(sw)!0.527950310559006!(ne)$);
897 \coordinate (c27x) at ($(sw)!0.333333333333333!(ne)$); \coordinate (c27y) at ($(sw)!0.527950310559006!(ne)$);
898 \coordinate (c28x) at ($(sw)!0.333333333333333!(ne)$); \coordinate (c28y) at ($(sw)!0.527950310559006!(ne)$);
899 \coordinate (c29x) at ($(sw)!0.333333333333333!(ne)$); \coordinate (c29y) at ($(sw)!0.527950310559006!(ne)$);
900 \coordinate (c30x) at ($(sw)!0!(ne)$); \coordinate (c30y) at ($(sw)!0.350931677018634!(ne)$);
901 \coordinate (c31x) at ($(sw)!0!(ne)$); \coordinate (c31y) at ($(sw)!0.350931677018634!(ne)$);
902 \coordinate (c32x) at ($(sw)!0!(ne)$); \coordinate (c32y) at ($(sw)!0.350931677018634!(ne)$);
903 \coordinate (c33x) at ($(sw)!0!(ne)$); \coordinate (c33y) at ($(sw)!0!(ne)$);
904 \coordinate (c34x) at ($(sw)!0!(ne)$); \coordinate (c34y) at ($(sw)!0!(ne)$);
905 \coordinate (c35x) at ($(sw)!0!(ne)$); \coordinate (c35y) at ($(sw)!0!(ne)$);
906 \coordinate (c36x) at ($(sw)!0!(ne)$); \coordinate (c36y) at ($(sw)!0!(ne)$);
907 \coordinate (c37x) at ($(sw)!1!(ne)$); \coordinate (c37y) at ($(sw)!0!(ne)$);
908 \coordinate (c38x) at ($(sw)!1!(ne)$); \coordinate (c38y) at ($(sw)!0!(ne)$);
909 \coordinate (c39x) at ($(sw)!1!(ne)$); \coordinate (c39y) at ($(sw)!0!(ne)$);
910 \coordinate (c40x) at ($(sw)!1!(ne)$); \coordinate (c40y) at ($(sw)!0!(ne)$);
911 \coordinate (c41x) at ($(sw)!1!(ne)$); \coordinate (c41y) at ($(sw)!0.350931677018634!(ne)$);
912 \coordinate (c42x) at ($(sw)!1!(ne)$); \coordinate (c42y) at ($(sw)!0.350931677018634!(ne)$);
913 \coordinate (c43x) at ($(sw)!1!(ne)$); \coordinate (c43y) at ($(sw)!0.350931677018634!(ne)$);
914 \coordinate (c44x) at ($(sw)!1!(ne)$); \coordinate (c44y) at ($(sw)!0.350931677018634!(ne)$);
915 \coordinate (c45x) at ($(sw)!0.444444444444444!(ne)$); \coordinate (c45y) at ($(sw)!0.406832298136645!(ne)$);
916 \coordinate (c46x) at ($(sw)!0.444444444444444!(ne)$); \coordinate (c46y) at ($(sw)!0.406832298136645!(ne)$);
917 \coordinate (c47x) at ($(sw)!0.444444444444444!(ne)$); \coordinate (c47y) at ($(sw)!0.406832298136645!(ne)$);
918 \coordinate (c48x) at ($(sw)!0.555555555555556!(ne)$); \coordinate (c48y) at ($(sw)!0.406832298136645!(ne)$);
919 \coordinate (c49x) at ($(sw)!0.555555555555556!(ne)$); \coordinate (c49y) at ($(sw)!0.406832298136645!(ne)$);
920 \coordinate (c50x) at ($(sw)!0.555555555555556!(ne)$); \coordinate (c50y) at ($(sw)!0.406832298136645!(ne)$);
921 \coordinate (c51x) at ($(sw)!0.555555555555556!(ne)$); \coordinate (c51y) at ($(sw)!0.406832298136645!(ne)$);
922 \coordinate (c52x) at ($(sw)!0.53015873015873!(ne)$); \coordinate (c52y) at ($(sw)!0.400626293995859!(ne)$);
923 \coordinate (c53x) at ($(sw)!0.53015873015873!(ne)$); \coordinate (c53y) at ($(sw)!0.400626293995859!(ne)$);
924 \coordinate (c54x) at ($(sw)!0.53015873015873!(ne)$); \coordinate (c54y) at ($(sw)!0.400626293995859!(ne)$);
925 \coordinate (c55x) at ($(sw)!0.53015873015873!(ne)$); \coordinate (c55y) at ($(sw)!0.400626293995859!(ne)$);
926 \coordinate (c56x) at ($(sw)!0.498412698412698!(ne)$); \coordinate (c56y) at ($(sw)!0.397515527950311!(ne)$);
927 \coordinate (c57x) at ($(sw)!0.498412698412698!(ne)$); \coordinate (c57y) at ($(sw)!0.397515527950311!(ne)$);
928 \coordinate (c58x) at ($(sw)!0.498412698412698!(ne)$); \coordinate (c58y) at ($(sw)!0.397515527950311!(ne)$);
929 \coordinate (c59x) at ($(sw)!0.498412698412698!(ne)$); \coordinate (c59y) at ($(sw)!0.397515527950311!(ne)$);
930 \coordinate (c60x) at ($(sw)!0.473015873015873!(ne)$); \coordinate (c60y) at ($(sw)!0.400626293995859!(ne)$);
931 \coordinate (c61x) at ($(sw)!0.473015873015873!(ne)$); \coordinate (c61y) at ($(sw)!0.400626293995859!(ne)$);
932 \coordinate (c62x) at ($(sw)!0.473015873015873!(ne)$); \coordinate (c62y) at ($(sw)!0.400626293995859!(ne)$);
933 \coordinate (c63x) at ($(sw)!0.473015873015873!(ne)$); \coordinate (c63y) at ($(sw)!0.400626293995859!(ne)$);
934 \coordinate (c64x) at ($(sw)!0.444444444444444!(ne)$); \coordinate (c64y) at ($(sw)!0.406832298136645!(ne)$);
935 \coordinate (b11x1) at ($(sw)!0.798148148148148!(ne)$);
936 \coordinate (b11y1) at ($(sw)!0.722670807453416!(ne)$);
937 \coordinate (b11x2) at ($(sw)!0.722222222222222!(ne)$);
938 \coordinate (b11y2) at ($(sw)!0.994151138716356!(ne)$);
939 \coordinate (b11x3) at ($(sw)!0.511111111111112!(ne)$);
940 \coordinate (b11y3) at ($(sw)!1!(ne)$);
941 \coordinate (b14x1) at ($(sw)!0.297671957671958!(ne)$);
942 \coordinate (b14y1) at ($(sw)!1.00020703933747!(ne)$);
943 \coordinate (b14x2) at ($(sw)!0.215714285714286!(ne)$);
944 \coordinate (b14y2) at ($(sw)!0.723240165631469!(ne)$);
945 \coordinate (b14x3) at ($(sw)!0.371428571428571!(ne)$);
946 \coordinate (b14y3) at ($(sw)!0.593167701863355!(ne)$);
947 \coordinate (b29x1) at ($(sw)!0.209100529100529!(ne)$);
948 \coordinate (b29y1) at ($(sw)!0.531418219461698!(ne)$);
949 \coordinate (b29x2) at ($(sw)!0.062804232804232!(ne)$);
950 \coordinate (b29y2) at ($(sw)!0.455020703933747!(ne)$);
951 \coordinate (b29x3) at ($(sw)!0!(ne)$);
952 \coordinate (b29y3) at ($(sw)!0.350931677018634!(ne)$);
953 \coordinate (b44x1) at ($(sw)!0.935185185185186!(ne)$);
954 \coordinate (b44y1) at ($(sw)!0.454606625258799!(ne)$);
955 \coordinate (b44x2) at ($(sw)!0.800899470899472!(ne)$);
956 \coordinate (b44y2) at ($(sw)!0.523654244306418!(ne)$);
957 \coordinate (b44x3) at ($(sw)!0.67936507936508!(ne)$);
958 \coordinate (b44y3) at ($(sw)!0.527950310559006!(ne)$);
959 \draw[line width=0.1pt, line cap=rect,line join=round]
960 (c1x |- c1y) -- (c2x |- c2y) -- (c3x |- c3y) -- (c4x |- c4y) -- (c5x |- c5y) -- (c6x |- c6y) -- (c7x |- c7y) -- (c8x |- c8y) -- (c9x |- c9y) -- (c10x |- c10y) -- (c11x |- c11y) .. controls (b11x1 |- b11y1) and (b11x2 |- b11y2) .. (b11x3 |- b11y3) -- (c12x |- c12y) -- (c13x |- c13y) -- (c14x |- c14y) .. controls (b14x1 |- b14y1) and (b14x2 |- b14y2) .. (b14x3 |- b14y3) -- (c15x |- c15y) -- (c16x |- c16y) -- (c17x |- c17y) -- (c18x |- c18y) -- (c19x |- c19y) -- (c20x |- c20y) -- (c21x |- c21y) -- (c22x |- c22y) -- (c23x |- c23y) -- (c24x |- c24y) -- (c25x |- c25y) -- (c26x |- c26y) -- (c27x |- c27y) -- (c28x |- c28y) -- (c29x |- c29y) .. controls (b29x1 |- b29y1) and (b29x2 |- b29y2) .. (b29x3 |- b29y3) -- (c30x |- c30y) -- (c31x |- c31y) -- (c32x |- c32y) -- (c33x |- c33y) -- (c34x |- c34y) -- (c35x |- c35y) -- (c36x |- c36y) -- (c37x |- c37y) -- (c38x |- c38y) -- (c39x |- c39y) -- (c40x |- c40y) -- (c41x |- c41y) -- (c42x |- c42y) -- (c43x |- c43y) -- (c44x |- c44y) .. controls (b44x1 |- b44y1) and (b44x2 |- b44y2) .. (b44x3 |- b44y3);
961 (c45x |- c45y) -- (c46x |- c46y) -- (c47x |- c47y) -- (c48x |- c48y) -- (c49x |- c49y) -- (c50x |- c50y) -- (c51x |- c51y) -- (c52x |- c52y) -- (c53x |- c53y) -- (c54x |- c54y) -- (c55x |- c55y) -- (c56x |- c56y) -- (c57x |- c57y) -- (c58x |- c58y) -- (c59x |- c59y) -- (c60x |- c60y) -- (c61x |- c61y) -- (c62x |- c62y) -- (c63x |- c63y) -- (c64x |- c64y) -- cycle;
962 }
963 ]
964
965 %%%%% resources %%%%%
966
967 \tikzstyle{pool} = [
968 draw
969 ]
970
971 \tikzstyle{pool label} = [
972 pool,
973 label={[rotate=90,anchor=north]left:\footnotesize #1},
974 fit margins={left=0.8em,right=0.1em,bottom=0.1em,top=0.1em},
975 path picture = {
976 \def\x{1.2em}
977 \draw ($(path picture bounding box.north west)+(\x,0)$) to ($(path picture bounding box.south west)+(\x,0)$);
978 }
979 ]
980
981 %%%%% data %%%%%
982
983 \tikzstyle{data object} = [
984 inner sep=0,
985 minimum width=1em,
986 minimum height=1.5em,
987 path picture = {
988 \def\i{0.3em}
989 \draw (path picture bounding box.north west) to (path picture bounding box.south west) to (path picture bounding box.south east) |- ($(path picture bounding box.north east)+(-\i,-\i)$) |- cycle;
990 \draw ($(path picture bounding box.north east)+(-\i,0)$) to ($(path picture bounding box.north east)+(0,-\i)$);
991 }
992 ]
993
994 \tikzstyle{data collection} = [
995 data object,
996 label={[anchor=south,inner sep=0]below:\tikzmultimarker}
997 ]
998
999 \tikzstyle{data store} = [
1000 database,
1001 database segment height=0.3mm,
1002 database bottom segment height=3mm,
1003 database aspect ratio=0.25,
1004 database radius=0.35cm
1005 ]
1006
1007 %adapted from https://tex.stackexchange.com/questions/442991/database-shape-in-tikz
1008 \makeatletter
1009 \tikzset{
1010 database/.style={
1011 path picture={
1012 \draw (0, 1.5*\database@segmentheight+0.5*\database@bottomsegmentheight) circle [x radius=\database@radius,y radius=\database@aspectratio*\database@radius];
1013 \draw (-\database@radius, 0.5*\database@segmentheight+0.5*\database@bottomsegmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius];
1014 \draw (-\database@radius,-0.5*\database@segmentheight+0.5*\database@bottomsegmentheight) arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius];
1015 \draw (-\database@radius,1.5*\database@segmentheight+0.5*\database@bottomsegmentheight)
1016 to ++(0,-2*\database@segmentheight-\database@bottomsegmentheight)
1017 arc [start angle=180,end angle=360,x radius=\database@radius, y radius=\database@aspectratio*\database@radius]
1018 to ++(0,2*\database@segmentheight+\database@bottomsegmentheight);
1019 },
1020 minimum width=2*\database@radius + 2*\pgflinewidth,
1021 minimum height=2*\database@segmentheight + \database@bottomsegmentheight + 2*\database@aspectratio*\database@radius + 2*\pgflinewidth,
1022 },
1023 database segment height/.store in=\database@segmentheight,
1024 database bottom segment height/.store in=\database@bottomsegmentheight,
1025 database radius/.store in=\database@radius,
1026 database aspect ratio/.store in=\database@aspectratio,
1027 database segment height=0.1cm,
1028 database radius=0.25cm,
1029 database aspect ratio=0.35,
1030 }
1031 \makeatother