huyunan 2 years ago
commit f7c97273ad

@ -1,5 +0,0 @@
{
"recommendations": [
"hediet.vscode-drawio"
]
}

@ -352,9 +352,18 @@ Step 4: 将所有库存记录写入文件
Step 5: 关闭文件
![](pictures/data.drawio.svg)
#### make_chart
Step 1: 读取文件
Step 2: 显示图表
![](pictures/make_chart.drawio.svg)
#### confirm
Step 1: 输出 确定要退出吗
Step 2: if 确认 then 退出
![](pictures/confirm.drawio.svg)

@ -0,0 +1,143 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="501px" height="621px" viewBox="-0.5 -0.5 501 621" content="&lt;mxfile&gt;&lt;diagram id=&quot;EM7BMO-g3w7p9Cm9khwN&quot; name=&quot;第 1 页&quot;&gt;1Vhdk9ogFP01PLYTxHw9JpptH9qZndmHPnZYgwkziaQEV91fXxBiTIir9Wvrk+RwgZxzDxciQJNy/Y3jKv/JUlKAkZOuAZqC0QiOXSh/FLLRiO8FGsg4TU1QC7zQd2JAx6BLmpK6EygYKwStuuCMLRZkJjoY5pytumFzVnRXrXBGLOBlhgsb/UVTkWs0cJ0W/05oljcrQ8f0lLgJNkCd45St9iCUADThjAndKtcTUijxGl30uKcDvbsX42QhThkw1gPecLE03Mx7iU1DlqSSu3lcsIX8iXNRFvIJyqYOVzEH38BANVvymYkyqwjMM2Ki0I69tA1hJRF8I0M4KbCgb93ZsclftotrKcqGYTnMeGQx/rMkfPM7xQLb3ItCekpRXuVUkJcKbxmspK2HZHgjXJD1x0LYFFethWDji3zPPr5zOWvvc/KM7Dy7d8ozshknAYgTECKQuCBwQeSqRjQFkbdFnkDsW6rIDVqppiSKi4IULOO4lHpUhFP5ToT3+57bjmOmmdM1aarbpSba7EqNHnLMVO4VTGWrdQsPXWoYM/SZUbnIyDHKjpuSbIRDXk8Q7VkzqtUk4hxv9sIqFVCfvo4EehLrGVvBdxxPykFo2fwHflXH7UBmdE8nJbig2UK2ZzIDW8sq91F50kWmo6RpquaIOanpO37dzueoDaCJy8ndGLjTj+xrjmEzuD389hPvD2fZTOR8dUYo6Ahp5j7XBk0Im89rIkDf9f+WhGbTPeRO8M7bCGfI5A6UZKsAayQMVCOcgCgA6MlSl+esfF3Wtz2XzYAvqLeDnYESGwyU2OAKJRaO7+IseECC61rLvZ21IBzwlqdsJE/8xAfRGMQRSKTDJiCMhmwnAwIQTAf896hXgsa/8MAG3/fveMC//Wyd5V/3Pv699OvhNP8697kjNOtc644A7dv/Y14S4IETcHdLgND/r+4Fxz5C/G1VkhXHN0jotDWoU548EASqV9ayOAZR+OhVCaHPrEq+nRdrL9zj079/MB77ajuDvHxs/07SHm7/lEPJXw==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 90 70 L 90 103.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 108.88 L 86.5 101.88 L 90 103.63 L 93.5 101.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="90" cy="35" rx="60" ry="35" 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: 118px; height: 1px; padding-top: 35px; margin-left: 31px;">
<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;">
query_data
</div>
</div>
</div>
</foreignObject>
<text x="90" y="39" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
query_data
</text>
</switch>
</g>
<path d="M 90 160 L 90 193.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 198.88 L 86.5 191.88 L 90 193.63 L 93.5 191.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 30 160 L 50 110 L 150 110 L 130 160 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: 118px; height: 1px; padding-top: 135px; margin-left: 31px;">
<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="90" y="139" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入学号
</text>
</switch>
</g>
<path d="M 180 240 L 420 240 Q 430 240 430 250 L 430 353.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 430 358.88 L 426.5 351.88 L 430 353.63 L 433.5 351.88 Z" fill="rgb(0, 0, 0)" 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: 1px; height: 1px; padding-top: 240px; margin-left: 370px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
Label
</div>
</div>
</div>
</foreignObject>
<text x="370" y="243" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">
Label
</text>
</switch>
</g>
<path d="M 90 280 L 90 353.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 358.88 L 86.5 351.88 L 90 353.63 L 93.5 351.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 90 200 L 180 240 L 90 280 L 0 240 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: 178px; height: 1px; padding-top: 240px; 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="90" y="244" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
学号存在?
</text>
</switch>
</g>
<path d="M 90 420 L 90 553.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 558.88 L 86.5 551.88 L 90 553.63 L 93.5 551.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 20 420 L 40 360 L 160 360 L 140 420 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: 390px; margin-left: 21px;">
<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="90" y="394" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
显示:学号不存在
</text>
</switch>
</g>
<path d="M 430 420 L 430 490 Q 430 500 420 500 L 96.37 500" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 91.12 500 L 98.12 496.5 L 96.37 500 L 98.12 503.5 Z" fill="rgb(0, 0, 0)" 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: 1px; height: 1px; padding-top: 501px; margin-left: 276px;">
<div data-drawio-colors="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); " style="box-sizing: border-box; font-size: 0px; text-align: center;">
<div style="display: inline-block; font-size: 11px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; background-color: rgb(255, 255, 255); white-space: nowrap;">
Label
</div>
</div>
</div>
</foreignObject>
<text x="276" y="504" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="11px" text-anchor="middle">
Label
</text>
</switch>
</g>
<path d="M 360 420 L 380 360 L 500 360 L 480 420 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: 390px; margin-left: 361px;">
<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="430" y="394" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输出姓名学号成绩
</text>
</switch>
</g>
<ellipse cx="90" cy="590" rx="60" ry="30" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" 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: 13 KiB

Loading…
Cancel
Save