ykhao 2 years ago
commit 363e367d73

@ -343,8 +343,15 @@ Step 2.12: if c == CMD_QUIT then 退出
![](pictures/main_chart.drawio.svg) ![](pictures/main_chart.drawio.svg)
#### save_data
Step 1: 输入文件名
Step 2: 打开文件
Step 3: if 打开文件失败 then 提示打开文件失败并结束
Step 4: 将所有库存记录写入文件
Step 5: 关闭文件
![](pictures/data.drawio.svg)
#### make_chart #### make_chart
@ -353,16 +360,10 @@ Step 2: 显示图表
![](pictures/make_chart.drawio.svg) ![](pictures/make_chart.drawio.svg)
#### query_data
Step 1: 输入学生学号
Step 2: if学号不存在 then 提示学生不存在并结束
Step 3: else 学号存在 then 输出学号、姓名、成绩
![](pictures/query_data.drawio.svg)
#### confirm #### confirm
Step 1: 输出 确定要退出吗 Step 1: 输出 确定要退出吗
Step 2: if 确认 then 退出 Step 2: if 确认 then 退出
![](pictures/confirm.drawio.svg)

@ -0,0 +1,90 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="441px" height="621px" viewBox="-0.5 -0.5 441 621" content="&lt;mxfile&gt;&lt;diagram id=&quot;xqaYZJClM3BCu8lo3jDS&quot; name=&quot;Page-1&quot;&gt;5Vhdb5swFP01flwFMRB4TFKyvUyqlIdtjxY4YMnEyHEa2K/fpTafJlrUpVXTSRXyPb7XvpxzMKQIb4rqqyRl/l2klKOFk1YIP6LFwg8juDZA3QJLDWSSpRpye2DHflMDOgY9sZQeR4lKCK5YOQYTcTjQRI0wIqU4j9P2go93LUlGLWCXEG6jP1iqco1i7Dj9xDfKstxs7QWhKSlIm21SjzlJxXkA4RjhjRRC6VFRbShvyGuJ0XXbC7NdZ5Ie1DUFC13wTPjJ3ByQtmeyMO2pur1pqAN+IVifc6boriRJM3MGhQHLVcEhcmFoVqRS0epiV253r2ASKgqqZA0pbUFLjzHI0oTnnm3XM1g+IDo0GDECZ93KPQUwMCzMM4ItRlAcoHCLIgfFS7Ty0Hr1MnDRKkax31wjQEK0gjQXxRGCNuAPpsDXTbLf1EZLi1IQv2yGQAzhnHKRSVIAgyWVDPqmcjr31E/8TYU9q2j76NxKFXesSmfioSzBG8nizchiM71F6w2Ktp+NaTz3ALwV0/4M053dw+a68u6dYG9CsBe94wkT2AR/pMM2cN+Ri+UVXBzSVfPShijh5HhkyZgCWjH1E8bOg2+iX4OZx+YunTaoTaA3oan1np+QBo2Ik0zo6MlQRGZUDbS0qR1Q588w12KScqLY87iJOTrNDk+CQXudcjiYuBhPFNHNm6rhV8BkIS+cWGC6kL5layHQhdSDtLJJOF5u2NrHH32dwECv2Fun4/QqN4W3c5M78FLvrHk3gWdkrS0YOEELNJVfnAcHhy3SV79Eo/LBefgPDvVsh/qfw6HTN+L08LmVQyN/3LB7W4dG93TeYdtN3n/tplcI3u50H4ovbMXxR1Ic30px6+Pl1YpD2P9c1+n9Pz1w/Ac=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<ellipse cx="80" cy="40" rx="70" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 40px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
confirm
</div>
</div>
</div>
</foreignObject>
<text x="80" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
confirm
</text>
</switch>
</g>
<path d="M 0 230 L 20 150 L 160 150 L 140 230 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 190px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
提示确定要退出吗
</div>
</div>
</div>
</foreignObject>
<text x="80" y="194" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
提示确定要退出吗
</text>
</switch>
</g>
<path d="M 0 380 L 20 300 L 160 300 L 140 380 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 340px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
退出?
</div>
</div>
</div>
</foreignObject>
<text x="80" y="344" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
退出?
</text>
</switch>
</g>
<path d="M 300 500 L 320 420 L 440 420 L 420 500 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 460px; margin-left: 301px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
确认
</div>
</div>
</div>
</foreignObject>
<text x="370" y="464" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
确认
</text>
</switch>
</g>
<ellipse cx="80" cy="580" rx="70" ry="40" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 370 500 L 370 570 Q 370 580 360 580 L 156.37 580" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 151.12 580 L 158.12 576.5 L 156.37 580 L 158.12 583.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 150 340 L 375 340 Q 385 340 384.98 350 L 384.85 410.59" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 384.84 415.84 L 381.36 408.83 L 384.85 410.59 L 388.36 408.85 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 80 230 L 80 293.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 80 298.88 L 76.5 291.88 L 80 293.63 L 83.5 291.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 80 80 L 80 143.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 80 148.88 L 76.5 141.88 L 80 143.63 L 83.5 141.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

After

Width:  |  Height:  |  Size: 8.2 KiB

@ -0,0 +1,167 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="341px" height="701px" viewBox="-0.5 -0.5 341 701" content="&lt;mxfile&gt;&lt;diagram id=&quot;upyrMhvOQVLzjFjaz9En&quot; name=&quot;Page-1&quot;&gt;3Vpbc+o2EP41eixjW5YsPQKB04d25szkoadPHQcr4KlBVJgA/fVd2TJYvhADNuecJpkgrde67Lf7rVYJwtP18YsKt6vfZSQS5DnREeEX5HmU+fBbC065gNAgFyxVHOUi9yJ4jf8VRugY6T6OxM5STKVM0nhrCxdysxGL1JKFSsmDrfYuE3vWbbgUNcHrIkzq0j/iKF3lUkaci/xXES9XxcyuY56sw0LZCHarMJKHkgjPEJ4qKdO8tT5ORaJtV9glf2/e8vS8MCU2aZcXsFnHR5jszebMwtJTsVsRweZNdyM38DFZpesEei406zOaRezkXi3MEGbQNFRLYbQ8nsv06KX3zDK/CLkWqTqBghJJmMYftulDg+DyrHfZJDTMPpv37DVsmSawrMm7hD1ot0mkyp7Qf/YaCdgkdrKvsogu9ecu/BB/RWEaFoPA9Pk4+fO6OZME/FRb8bCKU/G6DTMrHSBSbMu+x0kyPS8Fz7MvPWOq5N+i9MQs7QoWH0Kl4njVzEfbIUxkMtM9XNzcpUa2Krl44DyOC3/UFdsNowG5yWD9eaV59auMM98qQHDYyHf4+Zsxy+weqdgzDyYzSDmea+PSUcA54ZTgwKGUcntc5owcYCNGSYAx9ji1p8kDtDZNhtx5853AdJui7HuhWeYd92kIE8v0uBoiLZDeYWtM+yHxikk+ZXW3wbyYPInFi8l7onE0o4hxxDGaETSZIiA+kEB8sADNfDSZoAnNdBjijtZhY8TnaDbXytDoSP5qJddv+90Q5K/kfhOJyIqe4nRyNVHfnRww75gdeA/Zwf2R0oNFKOz7EAphgxGKG9xoWnGM02+l9p/QdkbE9F70DpyiczKdnylbBxXT+/em58AdYZcEjPsBhjLIpZVxg5EWa6w9igsY+s/Onj9sMJmSDQ4Bd6BppRhWDzgP9416Zw5in+Wci/2KBKMf/LLL7DEGBdfbHvO0c05AtyYqyD2QoiBRQboK0PilIVF1zUZWyvgJyhHqNmQcMlA9cnNMwDbV6VtGfZzQQmC4EMobI7jQYdY7lXtfhYphoUJ1Isnewqy4jnjCQXmsVHgqKWw1ne3auRe7tgv4mFVAzEe8mwrJj8l8BSTDHyts+wZOJXRass7NOLbM0xuOTTdZD9YD8+ysDxwLvDruViGQTNlFM4YmPhqTrlS8W4Vb3QSvCJNEJHKpwjUobkuEYD0rMcXnzH0UxS1qH7VFD7xeJXbiNBC7PxSx4w6nn+Fu6Xo3ZsWWwTOTJH74nucxluz9FrmFJStZqFbS9ng2byp0HyEyYKKZoS04OAIlNdIWbIi9/D/YqoeQ8m243aabjiZ6on2EFB46gp4dLfju6+zqQMOFHW4oiW/I+LyG2W3FVQuEVw6bLWHRg/OTFq4rO783lPOT/o9xY/2TY2kgnOq2BnVs0IUqmjNNleMZmmT3uxOQkIwzQZ9fI88bOTOSi/06A+czp3jLPei3t6EvhWuu0eBAXamy80muen3ZwVuge/nTeB7jl/8vwLP/AA==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 80 70 L 80 103.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 80 108.88 L 76.5 101.88 L 80 103.63 L 83.5 101.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="80" cy="35" rx="80" ry="35" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 35px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
save_data
</font>
</div>
</div>
</div>
</foreignObject>
<text x="80" y="39" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
save_data
</text>
</switch>
</g>
<path d="M 78.41 170 L 77.14 193.65" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 76.86 198.89 L 73.74 191.72 L 77.14 193.65 L 80.73 192.09 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 75 290 L 76.19 305.52" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 76.6 310.75 L 72.57 304.04 L 76.19 305.52 L 79.55 303.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 80 400 L 80 413.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 80 418.88 L 76.5 411.88 L 80 413.63 L 83.5 411.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 40 332.5 L 71.28 314.9 Q 80 310 88.72 314.9 L 151.28 350.1 Q 160 355 151.28 359.9 L 88.72 395.1 Q 80 400 71.28 395.1 L 8.72 359.9 Q 0 355 8.72 350.1 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 355px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
打开文件成功?
</font>
</div>
</div>
</div>
</foreignObject>
<text x="80" y="359" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
打开文件成功?
</text>
</switch>
</g>
<path d="M 75 500 L 75 523.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 75 528.88 L 71.5 521.88 L 75 523.63 L 78.5 521.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 145 460 L 144.16 461.67" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 141.82 466.37 L 141.82 458.54 L 144.16 461.67 L 148.08 461.67 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 75 600 L 75 623.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 75 628.88 L 71.5 621.88 L 75 623.63 L 78.5 621.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="530" width="150" height="70" rx="10.5" ry="10.5" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 565px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000" style="font-size: 12px;">
关闭文件
</font>
</div>
</div>
</div>
</foreignObject>
<text x="75" y="569" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
关闭文件
</text>
</switch>
</g>
<path d="M 273.61 420 L 278.97 367.95 Q 280 358 270 357.97 L 159.33 357.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 154.08 357.61 L 161.09 354.13 L 159.33 357.63 L 161.07 361.13 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 270 490 L 270 610 Q 270 620 260 620 L 76.37 620" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 71.12 620 L 78.12 616.5 L 76.37 620 L 78.12 623.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 260 490 L 210 490 Q 200 490 202.75 480.38 L 217.25 429.62 Q 220 420 230 420 L 330 420 Q 340 420 337.25 429.62 L 322.75 480.38 Q 320 490 310 490 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 455px; margin-left: 201px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
提示打开文件失败
</font>
</div>
</div>
</div>
</foreignObject>
<text x="270" y="459" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
提示打开文件失败
</text>
</switch>
</g>
<ellipse cx="75" cy="665" rx="75" ry="35" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<path d="M 80 170 L 80 203.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 80 208.88 L 76.5 201.88 L 80 203.63 L 83.5 201.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 10 170 L 30 110 L 150 110 L 130 170 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 140px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
输入文件名
</font>
</div>
</div>
</div>
</foreignObject>
<text x="80" y="144" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入文件名
</text>
</switch>
</g>
<path d="M 80 270 L 80 303.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 80 308.88 L 76.5 301.88 L 80 303.63 L 83.5 301.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="20" y="210" width="120" height="60" rx="9" ry="9" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 240px; margin-left: 21px;">
<div data-drawio-colors="color: #000000; " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
打开文件夹
</div>
</div>
</div>
</foreignObject>
<text x="80" y="244" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
打开文件夹
</text>
</switch>
</g>
<path d="M 10 420 L 150 420 L 150 488 Q 115 466.4 80 488 Q 45 509.6 10 488 L 10 432 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 448px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
把所有库存记录写入文件
</font>
</div>
</div>
</div>
</foreignObject>
<text x="80" y="452" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
把所有库存记录写入文件
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

After

Width:  |  Height:  |  Size: 15 KiB

@ -0,0 +1,144 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="351px" height="671px" viewBox="-0.5 -0.5 351 671" content="&lt;mxfile&gt;&lt;diagram id=&quot;6bK-31pJimxJY320Gb6T&quot; name=&quot;Page-1&quot;&gt;7Vldc6IwFP01eQcRCI9+4O7LznSmO7OPO6mkwjQSN8aq++v3hgQECZWptF079UHDyYUk995zconIm60P3wTZpD94QhkaOckBeXM0GgV4DN8KOGrAD0INrESWaMg9AffZX2pAx6C7LKHbhqHknMls0wSXPM/pUjYwIgTfN80eOWuOuiEr2gLul4S10V9ZIlONYt854d9ptkrLkV3H9KxJaWyAbUoSvq9BXoy8meBc6tb6MKNM+a70i75v0dFbTUzQXPa6wTj+mbCdWZyZmDyWq6UJLN5c5jyHn2kq1wyuXGhqc2XTOQUDbflOLI2VGUUSsaKlVVCtH/KG8jWV4gg2gjIis+fm44mJ4KqyOy0SGmad9jWPLEsOGMxi+shhyiptGBdFT/BnpyIBi/Sc4lOHgpX6FZQkvxMiSfkQGF4/R/e33ckY5Kny4j7NJL3fkMIpe2BK07NbKfgTnVWTKacA88wYq+GL4lONZXH9MxWSHmpQ282HKlf1LceScuZ6f0p0t0z0tJbkoXN9ZIJrk/EFl0FIbDjNk4lSBIAfGF8+/UyzXMOLjDVz3OLXev76ViZckc/m1jueFVlZBgj7jQCNgjPHa5qZu858X02jVzjwrYWjrjB+O0Lh0BHqm9f+oIqD4gDhCEUein00nSHsKCQCMETxGE2naBr0FSPYfzaqCc4kjFHGV4KswXBDRQbLpOK87+7UcUm/HrMDLTdv9wXV6s4SwXd5QpNLYX+9uo2inup2TrLXZEE59m3yKWzzKXoTxYP5kmPNYKOUbNstiB5uxnTcLHmgoZ/4WhV0x58sbK73UTpoKzav08Ez1VMNjKYTFIdoEhWNhZLIaNFXEEXK1w+7bR91+3g1c5qZXzGhrmahRc3wEGpmK6NvhhaRhRbuR9EiGpgWGE0WihBQHuCFoshXedCPUN5ZeTC2EWr8VuWBf0P8GZ4sXW87zYgE59KlGdx627m2iCjHGayIKHNxwK0PNrq42OjGxUYHCLwOFO8CeI4msdn68KwQhLjoAoO5Mvuifx/6++9Kf6/Hftr36Og/cKbrNs8pQttBks2ZQxwkuVcfXXRJqFX2Lstl0K43/HeqLlzbqdp15QXojj59wD6a+LY63EfwZo3nn0NoOlLfEvX+x6pvePAAl6c/EPRedfoXxov/AQ==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 85 70 L 85 83.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 85 88.88 L 81.5 81.88 L 85 83.63 L 88.5 81.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="85" cy="35" rx="75" ry="35" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 35px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
read_data
</font>
</div>
</div>
</div>
</foreignObject>
<text x="85" y="39" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
read_data
</text>
</switch>
</g>
<path d="M 85 160 L 85 181.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 85 188.88 L 82.67 181.88 L 87.33 181.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 85 250 L 85 271.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 85 278.88 L 82.67 271.88 L 87.33 271.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 75 250 L 20 250 Q 10 250 13.16 240.51 L 26.84 199.49 Q 30 190 40 190 L 150 190 Q 160 190 156.84 199.49 L 143.16 240.51 Q 140 250 130 250 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 220px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
打开文件
</font>
</div>
</div>
</div>
</foreignObject>
<text x="85" y="224" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
打开文件
</text>
</switch>
</g>
<path d="M 170 320 L 270 320 Q 280 320 280 330 L 280 371.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 280 378.88 L 277.67 371.88 L 282.33 371.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 85 360 L 85 591.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 85 598.88 L 82.67 591.88 L 87.33 591.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 42.5 300 L 75.95 284.26 Q 85 280 94.05 284.26 L 160.95 315.74 Q 170 320 160.95 324.26 L 94.05 355.74 Q 85 360 75.95 355.74 L 9.05 324.26 Q 0 320 9.05 315.74 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 168px; height: 1px; padding-top: 320px; margin-left: 1px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
文件为空?
</font>
</div>
</div>
</div>
</foreignObject>
<text x="85" y="324" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
文件为空?
</text>
</switch>
</g>
<path d="M 280 440 L 280 471.88" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 280 478.88 L 277.67 471.88 L 282.33 471.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 270 440 L 220 440 Q 210 440 213.16 430.51 L 226.84 389.49 Q 230 380 240 380 L 340 380 Q 350 380 346.84 389.49 L 333.16 430.51 Q 330 440 320 440 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 410px; margin-left: 211px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
读取文件
</font>
</div>
</div>
</div>
</foreignObject>
<text x="280" y="414" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
读取文件
</text>
</switch>
</g>
<path d="M 280 540 L 280 570 Q 280 580 270 580 L 88.12 580" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 81.12 580 L 88.12 577.67 L 88.12 582.33 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 270 540 L 220 540 Q 210 540 213.16 530.51 L 226.84 489.49 Q 230 480 240 480 L 340 480 Q 350 480 346.84 489.49 L 333.16 530.51 Q 330 540 320 540 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 138px; height: 1px; padding-top: 510px; margin-left: 211px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
显示数据,记录
</font>
</div>
</div>
</div>
</foreignObject>
<text x="280" y="514" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
显示数据,记录
</text>
</switch>
</g>
<ellipse cx="85" cy="635" rx="70" ry="35" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<path d="M 85 150 L 85 183.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 85 188.88 L 81.5 181.88 L 85 183.63 L 88.5 181.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 10 150 L 30 90 L 160 90 L 140 150 Z" fill="#ffffff" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 148px; height: 1px; padding-top: 120px; margin-left: 11px;">
<div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
<font color="#000000">
输入文件名
</font>
</div>
</div>
</div>
</foreignObject>
<text x="85" y="124" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入文件名
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>
<a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank">
<text text-anchor="middle" font-size="10px" x="50%" y="100%">
Text is not SVG - cannot display
</text>
</a>
</switch>
</svg>

After

Width:  |  Height:  |  Size: 13 KiB

Loading…
Cancel
Save