流程图C5
郭佳慧 2 years ago
parent 756ad99097
commit eaa84a93cd

@ -0,0 +1,193 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created by Flowgorithm 3.4.2 (http://flowgorithm.org) -->
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" width="6432" height="7008">
<rect x="0" y="0" width="6432" height="7008" fill="#FFFFFF"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,384 720,501"/>
<polygon fill="#404040" stroke="none" points="720,528 746,481 693,481"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,6480 720,6597"/>
<polygon fill="#404040" stroke="none" points="720,6624 746,6577 693,6577"/>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 384,192 A 96 96, 0, 0 0, 384 384 L 1056,384 A 96 96, 0, 0 0, 1056 192 Z"/>
<text x="720" y="220" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">foundreaderinfo</tspan>
</text>
</g>
<g>
<path fill="#F0E0FF" stroke="#9070A0" stroke-width="6" stroke-dasharray="none" d="M 528,6624 A 96 96, 0, 0 0, 528 6816 L 912,6816 A 96 96, 0, 0 0, 912 6624 Z"/>
<text x="720" y="6652" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">End</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,768 720,885"/>
<polygon fill="#404040" stroke="none" points="720,912 746,865 693,865"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,1152 720,1269"/>
<polygon fill="#404040" stroke="none" points="720,1296 746,1249 693,1249"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,1488 720,1605"/>
<polygon fill="#404040" stroke="none" points="720,1632 746,1585 693,1585"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,1824 720,1989"/>
<polygon fill="#404040" stroke="none" points="720,2016 746,1969 693,1969"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,2208 720,5925"/>
<polygon fill="#404040" stroke="none" points="720,5952 746,5905 693,5905"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="720,6144 720,6261"/>
<polygon fill="#404040" stroke="none" points="720,6288 746,6241 693,6241"/>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 336,528 L 336,768 L 1104,768 L 1104,528 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="336,576 1104,576"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="384,528 384,768"/>
<text x="744" y="604" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="744" dy="96" unicode-bidi="embed">String reader1</tspan>
</text>
</g>
<g>
<path fill="#FFFFD0" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" d="M 432,912 L 432,1152 L 1008,1152 L 1008,912 Z"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="432,960 1008,960"/>
<polyline fill="none" stroke="#A0A070" stroke-width="6" stroke-dasharray="none" points="480,912 480,1152"/>
<text x="744" y="988" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="744" dy="96" unicode-bidi="embed">Integer id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 528,1296 L 432,1488 L 912,1488 L 1008,1296 Z"/>
<text x="720" y="1324" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Input id</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 432,1632 L 336,1824 L 1008,1824 L 1104,1632 Z"/>
<text x="720" y="1660" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Input reader</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1008,2112 2592,2112 2592,2277"/>
<polygon fill="#404040" stroke="none" points="2592,2304 2618,2257 2565,2257"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2592,5616 2592,5760 816,5760 816,2234"/>
<polygon fill="#404040" stroke="none" points="816,2208 789,2254 842,2254"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3072,2592 3408,2592 3408,2949"/>
<polygon fill="#404040" stroke="none" points="3408,2976 3434,2929 3381,2929"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3408,3552 3408,5568 2666,5568"/>
<polygon fill="#404040" stroke="none" points="2640,5568 2686,5594 2686,5541"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="2112,2592 1728,2592 1728,2949"/>
<polygon fill="#404040" stroke="none" points="1728,2976 1754,2929 1701,2929"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="1728,3264 1728,5568 2517,5568"/>
<polygon fill="#404040" stroke="none" points="2544,5568 2497,5541 2497,5594"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2592,2304 L 2064,2592 L 2592,2880 L 3120,2592 Z"/>
<text x="2592" y="2524" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="2592" dy="96" unicode-bidi="embed">id==reader-&gt;iNum</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3408,3168 3408,3333"/>
<polygon fill="#404040" stroke="none" points="3408,3360 3434,3313 3381,3313"/>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 2880,2976 L 2784,3168 L 3936,3168 L 4032,2976 Z"/>
<text x="3408" y="3004" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3408" dy="96" unicode-bidi="embed">Output &#35835;&#32773;&#20511;&#38405;&#30340;&#32534;&#21495;</tspan>
</text>
</g>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="3984,3456 4704,3456 4704,3621"/>
<polygon fill="#404040" stroke="none" points="4704,3648 4730,3601 4677,3601"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4704,5184 4704,5328 3504,5328 3504,3578"/>
<polygon fill="#404040" stroke="none" points="3504,3552 3477,3598 3530,3598"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4704,4848 4704,4965"/>
<polygon fill="#404040" stroke="none" points="4704,4992 4730,4945 4677,4945"/>
<g>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5280,3984 5616,3984 5616,4389"/>
<polygon fill="#404040" stroke="none" points="5616,4416 5642,4369 5589,4369"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="5616,4608 5616,4800 4778,4800"/>
<polygon fill="#404040" stroke="none" points="4752,4800 4798,4826 4798,4773"/>
<polyline fill="none" stroke="#404040" stroke-width="12" stroke-dasharray="none" points="4128,3984 3744,3984 3744,4800 4629,4800"/>
<polygon fill="#404040" stroke="none" points="4656,4800 4609,4773 4609,4826"/>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 4704,3648 L 4080,3984 L 4704,4320 L 5328,3984 Z"/>
<text x="4704" y="3916" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4704" dy="96" unicode-bidi="embed">reader-&gt;aiBookId[i] != 0</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 5088,4416 L 4992,4608 L 6144,4608 L 6240,4416 Z"/>
<text x="5616" y="4444" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5616" dy="96" unicode-bidi="embed">Output &#35835;&#32773;&#30340;&#20511;&#38405;&#32534;&#21495;</tspan>
</text>
</g>
<g>
</g>
<ellipse cx="4704" cy="4800" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="5472" y="3820" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="5472" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="3912" y="3820" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3912" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 4320,4992 L 4224,5184 L 5088,5184 L 5184,4992 Z"/>
<text x="4704" y="5020" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4704" dy="96" unicode-bidi="embed">Input nextreader</tspan>
</text>
</g>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 2928,3360 L 2832,3456 L 2928,3552 L 3888,3552 L 3984,3456 L 3888,3360 Z"/>
<text x="3408" y="3388" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3408" dy="96" unicode-bidi="embed">i = 0 to reader-&gt;iMax</tspan>
</text>
</g>
<text x="4128" y="3292" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="4128" dy="96" unicode-bidi="embed">Next</tspan>
</text>
<text x="3240" y="3580" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3240" dy="96" unicode-bidi="embed">Done</tspan>
</text>
</g>
</g>
<g>
<path fill="#C04040" stroke="#602020" stroke-width="6" stroke-dasharray="none" d="M 1200,2976 L 1056,3264 L 2256,3264 L 2400,2976 Z"/>
<text x="1728" y="3004" fill="#FFFFFF" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1728" dy="96" unicode-bidi="embed">Output reader = reader-&gt;</tspan>
<tspan x="1728" dy="96" unicode-bidi="embed">next</tspan>
</text>
</g>
<ellipse cx="2592" cy="5568" rx="48" ry="48" fill="#C04040" stroke="#602020" stroke-width="6"/>
<text x="3264" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="3264" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="1896" y="2428" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1896" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#FFE0A0" stroke="#A08040" stroke-width="6" stroke-dasharray="none" d="M 528,2016 L 432,2112 L 528,2208 L 912,2208 L 1008,2112 L 912,2016 Z"/>
<text x="720" y="2044" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">reader</tspan>
</text>
</g>
<text x="1152" y="1948" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="1152" dy="96" unicode-bidi="embed">True</tspan>
</text>
<text x="552" y="2236" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="552" dy="96" unicode-bidi="embed">False</tspan>
</text>
</g>
<g>
<path fill="#D0FFD0" stroke="#70A070" stroke-width="6" stroke-dasharray="none" d="M 288,5952 L 192,6144 L 1152,6144 L 1248,5952 Z"/>
<text x="720" y="5980" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Output &#27809;&#26377;&#35813;&#35835;&#32773;</tspan>
</text>
</g>
<g>
<path fill="#C0E0FF" stroke="#6080A0" stroke-width="6" stroke-dasharray="none" d="M 336,6288 L 240,6480 L 1104,6480 L 1200,6288 Z"/>
<text x="720" y="6316" fill="#000000" font-family="Arial" font-size="32pt" text-anchor="middle" direction="ltr">
<tspan x="720" dy="96" unicode-bidi="embed">Input nextreader</tspan>
</text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

Loading…
Cancel
Save