宋岱瑾 2 years ago
parent 15626ef143
commit e5cb92d02b

@ -259,7 +259,7 @@
上述各模块通过主程序main进行调用系统模块图如下。
![系统模块图](main.svg)
![系统模块图](main1.svg)
各模块的主要功能如下:
@ -291,7 +291,7 @@ Step 2.4: if c == CMD_SAVE then 保存数据
Step 2.5: if c == CMD_PRINT then 打印数据
![主程序流程图](main.svg)
![主程序流程图](main2.svg)
#### save_data
@ -337,7 +337,7 @@ Step 1输入图书编号
Step 2查找图书是否已录入
Step 3if 不存在then 直接退出
Step 4else 输出图书信息
![修改学生信息](pictureupdata.svg)
![修改学生信息](update_data.svg)
#### delete_data
@ -347,7 +347,7 @@ Step 3: if 没有该图书then 则输出图书不存在
Step 4: 将查找到的图书后面的依次往前移动信息
Step 5: 将图书总数减一
Step 6: 提示删除成功
![打印记录流程图](deletesortupdate.svg)
![打印记录流程图](delete_data.svg)
#### sort_data
@ -356,7 +356,7 @@ Step 1: 进行冒泡排序
Step 2: 将按图书借阅次数排序,若前面的比后面的大,则交换
Step 3: 每次遍历记录是否交换,若没有交换,则排序结束
Step 4: 若借阅次数相同,则按照编号从小到大排序
![打印记录流程图](sort1.svg)
![打印记录流程图](sort.svg)
#### make_chart
@ -365,6 +365,6 @@ Step 2循环打印图书名和图书编号
Step 3循环套循环打印图表
Step 4打印结束后换行继续循环
Step 5打印成功
![读取流程图](make_chart.svg)
![读取流程图](chart.svg)

@ -1,81 +1,108 @@
<mxfile host="65bd71144e">
<diagram id="QuHIXDwPZxQIOHana4pj" name="Page-1">
<mxGraphModel dx="746" dy="563" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<mxGraphModel dx="873" dy="568" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="2" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="3" target="5">
<mxCell id="2" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="3" target="5" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="3" value="add_data" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="3" value="add_data" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="70" y="70" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="4" style="edgeStyle=none;html=1;" edge="1" parent="1" source="5">
<mxCell id="4" style="edgeStyle=none;html=1;" parent="1" source="5" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="320" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="5" value="if数据库满" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="5" value="if数据库满" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="55" y="200" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="6" style="edgeStyle=none;html=1;" edge="1" parent="1" source="7">
<mxCell id="6" style="edgeStyle=none;html=1;" parent="1" source="7" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7" value="输入图书编号" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="7" value="输入图书编号" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="70" y="320" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;" edge="1" parent="1" source="9" target="10">
<mxCell id="8" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" parent="1" source="5" target="10" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="220" y="290" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="9" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxCell id="9" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="95" y="275" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="10" value="提示并结束" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="220" y="260" width="120" height="60" as="geometry"/>
<mxCell id="25" style="edgeStyle=none;html=1;" edge="1" parent="1" source="10">
<mxGeometry relative="1" as="geometry">
<mxPoint x="190" y="860" as="targetPoint"/>
<Array as="points">
<mxPoint x="600" y="240"/>
<mxPoint x="600" y="860"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="10" value="提示" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="305" y="210" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;" edge="1" parent="1" source="13" target="16">
<mxCell id="11" style="edgeStyle=none;html=1;" parent="1" source="13" target="16" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="540" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;" edge="1" parent="1" source="13" target="18">
<mxCell id="12" style="edgeStyle=none;html=1;" parent="1" source="13" target="18" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="240" y="460" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="13" value="if图书已存在" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="13" value="if图书已存在" style="rhombus;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="65" y="420" width="130" height="80" as="geometry"/>
</mxCell>
<mxCell id="14" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxGeometry x="155" y="265" width="30" height="30" as="geometry"/>
<mxCell id="14" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="250" y="210" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="15" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="16" target="20">
<mxCell id="15" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="16" target="20" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="16" value="输入图书名和图书数量" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="16" value="输入图书名和图书数量" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="70" y="540" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="17" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="1">
<mxCell id="17" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="95" y="495" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="18" value="提示并结束" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="220" y="430" width="120" height="60" as="geometry"/>
<mxCell id="26" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="18" target="22">
<mxGeometry relative="1" as="geometry">
<mxPoint x="470" y="860" as="targetPoint"/>
<Array as="points">
<mxPoint x="600" y="460"/>
<mxPoint x="600" y="860"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="18" value="提示" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="310" y="430" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="19" style="edgeStyle=none;html=1;" edge="1" parent="1" source="20" target="21">
<mxCell id="19" style="edgeStyle=none;html=1;" parent="1" source="20" target="21" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="730" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" value="添加新图书" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="20" value="添加新图书" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="70" y="630" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="21" value="提示添加成功" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxCell id="23" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="21" target="22">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="21" value="提示添加成功" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="70" y="730" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="22" value="结束" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="70" y="820" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="24" value="Y" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="210" y="430" width="60" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>

@ -1,4 +1,4 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="341px" height="861px" viewBox="-0.5 -0.5 341 861" content="&lt;mxfile&gt;&lt;diagram id=&quot;otgGqTYVcoosGlTz0cmn&quot; name=&quot;第 1 页&quot;&gt;5ZpLc6M4EMc/ja4uXhLoCDbevczUVOWwO6ctYhSbGmx5sBzb+fSrFw9FkGQy4Jo4PsTQEkL0X7/uFjHw59vzX1W233yhOSmB5+Rn4C+A52E35H+F4aIMCAXKsK6KXJnc1nBXPBFtdLT1WOTkYHRklJas2JvGFd3tyIoZtqyq6Mns9kBL8677bE0sw90qK23rP0XONsoaQae1/02K9aa+s+volvts9WNd0eNO3w94/oP8qOZtVo+l+x82WU5PHZOfAn9eUcrU0fY8J6Vwbe02dd1yoLWZd0V27C0X+Hoa7FI/Osm5J/Tpju74V7Jh25KfufyQnAv2Lz92ZlCffe+0LIT+Tn1y0ScPdMfmtKSVvIHvyA+3H1hFf5C+FjUpMZPBx9KmAz1WK93La/zHlyWhW8KqC+9SkTJjxaM5VKYXyLrp11z6jRb8Jp6j17IbQHWJXspu6JhDsKxaE6aval3NDzrTaE1SgH4xPDXwY1YeSb18UMm0C+Vyr32Ffh7FEklar3VMaC2+OZKEkf/yjGX1MHwCaiTVw9a+LDlhQvLTpmDkbp9J35444+YyeCjKsiPcUn7eIOkjqRg5vyyqraC+ADmGEDWMpxbQRptNB87IGZbcEOsFZeAVMBn23RBA78NER2K1bLVnr0KONx05gU1OGoEkBdgHKQQRBDEUBzgRxjQACQYxAmkIkjnASPZZgiS0ZJahnORaoleo+HUFhzgag5ZwNhC4usBAaAODRgDG9uTHBeY6dATuZHRE7xTD7UjRCnOLYjRJQovhe5OJgXpCFQJ4KSMUAhGWEcoOVbKJT1M0zUEcyaYFiBYyii1AnNrBa0O398fDRw9cjTivBa4xMj225Plq+ZU/GzMdmJXFesePV/wZCfdJIjxQ8P1ErBu2RZ6Ly5OKHIqn7F4OJRy5F0tKzhcmAC7EWEdGD2pHZGujYe26vza9iNlvKdLUP40g0BLE76m8/BH0qKNiR5Dvn16QZvXX4QpdT5B6l3ITqd0d8PPv5nZoppPojbk9rqrs0umm1+Lgffyg/z6tlGrE9+Yq1+1JVt26mmeeWFji5UCBzQ8imaN4Bb4AOGrT1+1U2s+LBw/35CuvB8cxCm33Gm9wroajji3dvakbTIPos/IbTlfx1U9lUMTh4djwcg4DzFEJXqOIN7myCHRFt9uBx6r2mn3QNbap7i292JmMFGQIhJ5XESOS0vceB4LEARF6ERBu4X1SSRPfCnliT4RjEAWyTyqMnJ14LiGCwqJ2UmJLJTdQMc9kibTE9d7q0xDXhD6DuKbX6My993XEH8lc2JOx8EQchoZs4YQchr0c9ryScCQ2CGBJqSoJo2Vd9zmW0h8YGzzzo/5AaGaqGfKmAcez3fmBwcE2OEMKjAxONCE49usjiclS5CeRZgK5YbKLPyQs2NEZCN90vgl7ucGzeujRuenZxVogvfU/n3+Wa+HMN30b9fkWBTM0zutSftr+NkHx0f7+w0//Bw==&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);">
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="341px" height="861px" viewBox="-0.5 -0.5 341 861" content="&lt;mxfile&gt;&lt;diagram id=&quot;otgGqTYVcoosGlTz0cmn&quot; name=&quot;第 1 页&quot;&gt;5Vpbc5s4FP41evVwk0CPYOP2ZTudycNun3aIUWym2PJiObb761cSEqAIEjeDaZ36IRZHB13Op+9cFAN/vj1/qrL95i+akxJ4Tn4G/gJ4XhT6/K8QXGoBRFEtWFdFXovcVvBQ/CBK6CjpscjJwVBklJas2JvCFd3tyIoZsqyq6MlUe6KlOes+WxNL8LDKSlv6d5GzjdoWdFr5Z1KsN3pm11E9j9nq+7qix52aD3j+k/zU3dtMj6X0D5ssp6eOyE+BP68oZXVre56TUphWm61+bznQ26y7Ijt2zQsKpwO76K2TnFtCPe7ojn8lG7Yt+ZPLm+RcsH9425lB9fSt07MQ+Dv64aIenuiOzWlJKzmB78gPlx9YRb+Tvh57F2pjB3qsVmqhXi0S6+3oqG1+InRLWHXhChUpM1Y8m8hm6oCsG73m1a+04LN6jjrLbgDrV9RRdkPHHIJl1Zow9VZrat7oLKMVSQD6wVA7es7KI9HHB5VMmVAed20r9N9RHJGktVpHhNbim1OSMPJvnrFMD8MXUI9Ua9jYlyVnmID8tCkYedhn0tgnznHzGDwVZdkBbik/74P0mVSMnF9FUPUixwBCk/HUErTBZtMhZ+QMQ26A9QoycAKaDNtuiEBX0SRQ7lOeUmXIX8Mc73bMCWzmpBFIUoB9kEIQQRBD0cCJEKYBSDCIEUhDkMwBRlJnCZLQglm6cpIriN5gxc8jOMSjMdgSzgYcV5cwENqEQSMQxrbk3RDmF7EjcG/GjuidYLgdKFpgPiIYTZBQYPjezcBAPa4KAbyUHgqBCEsPZbsq2cWXKbrmII5k1wJEC+nFFiBObee1odvH4+HeHVcDzluOa4xIjy14vlh25RthpgGzsljveHvFt024TRKx3YLXE7Hq2BZ5Ll5PKnIofmSPcihhyL04UnK9MAFwIcY6MnqoKyIbG0XWrvm16Gdpdj0iTf7TAAItQPyezMsfAQ/tFTuAfPvjAWlOv3ZXaDpAdJVyj6HddSeK7dAMJ9GVsT2uquzSUVNncXAeP+ifp4WyHvG9sUrbazCv5pEnFpJ4OZBg80YkYxTPwBcAR234+jiZ9svkwcM98crroeMYibY7xQ3OreioXEm3NnWDiSj6Iv2Gt8v49DYNFnHycNrwdA4DzKkSvMUi3uXKJNAVah+HPFa219RBU5Sp7h1f7EzHFGQAhF5mESMype8eB4LEARF6lSBcwnVSySZeCnmiJsIxiAKpkwoh5048lySCQlJXUqKkkgVUzCNZIiWxrq3+GMY1rs9gXKM1Oufeex3xO3Au7IlYeCoehgZs4Q15GPbysOdKwpG0QQBLltYpYbTUeZ9jIX3HtMEzP+p3hGakmiHvNsTxbHPeD3GwTRxvqmrsBXGiGxLHvj6SNFmK+CTCTCALJjv5Q0KCHRWB8IeON2Evb/BMDz06b/qqWBnvRRWLRHLQY/Cr/xf6exkbznzT2lGftVEwQ+NcoPLH9tcKNWPaX4T46f8=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);">
<defs/>
<g>
<path d="M 85 80 L 85 113.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
@ -191,7 +191,23 @@
</text>
</switch>
</g>
<ellipse cx="87.67" cy="820" rx="82.325" ry="40" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<ellipse cx="87.68" cy="820" rx="82.325" ry="40" 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: 163px; height: 1px; padding-top: 820px; margin-left: 6px;">
<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="88" y="824" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
结束
</text>
</switch>
</g>
</g>
<switch>
<g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/>

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 19 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 15 KiB

@ -0,0 +1,75 @@
<mxfile host="65bd71144e">
<diagram id="0-MFX7cWQMd3pKyGMOGZ" name="第 1 页">
<mxGraphModel dx="873" dy="568" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="3" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontColor=#000000;strokeColor=#000000;" parent="1" source="2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="260" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="&lt;font color=&quot;#000000&quot;&gt;query_data&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#000000;movable=1;resizable=1;rotatable=1;deletable=1;editable=1;connectable=1;" parent="1" vertex="1">
<mxGeometry x="41.25" y="140" width="177.5" height="80" as="geometry"/>
</mxCell>
<mxCell id="5" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="4" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="370" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="输入查询的图书编号" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="40" y="260" width="180" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="7" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="490" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="7" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7" value="for i=0 to num_parts&lt;br&gt;开始查询" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="43.75" y="370" width="172.5" height="80" as="geometry"/>
</mxCell>
<mxCell id="11" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="225" y="385" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="12" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="125" y="455" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="14" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="13" target="15" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="600" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="13" value="查询到所查询的图书" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="40" y="490" width="180" height="60" as="geometry"/>
</mxCell>
<mxCell id="16" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="15" target="17" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="710" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="15" value="给出该图书的索引号" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="40" y="600" width="180" height="60" as="geometry"/>
</mxCell>
<mxCell id="17" value="j结束" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="40" y="710" width="180" height="80" as="geometry"/>
</mxCell>
<mxCell id="19" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="18" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="690" as="targetPoint"/>
<Array as="points">
<mxPoint x="360" y="690"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="18" value="未查询到所查询的图书" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="280" y="380" width="160" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -1,168 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="401px" height="651px" viewBox="-0.5 -0.5 401 651" content="&lt;mxfile&gt;&lt;diagram id=&quot;0-MFX7cWQMd3pKyGMOGZ&quot; name=&quot;第 1 页&quot;&gt;7VnLcpswFP0abTOAeC7BcdpNO53Jou2qIxvZZiqQK4vY7tf3CsQrgjRJY2bq1gtbunpyzz1XRxjhRX56J8h+94GnlCHHSk8I3yLHiewAvpXhXBt8360NW5GltcnuDPfZT6qNlraWWUoPg46Scyaz/dC45kVB13JgI0Lw47DbhrPhqnuypYbhfk2Yaf2cpXJXW0PP6uzvabbdNSvblm5ZkfX3reBloddDDt5Un7o5J81cuv9hR1J+7JnwEuGF4FzWpfy0oEy5tnFbPe5uorXdt6CFfM4ArLchz82j0xQ8oasFL+An2cmcQc2GIj1l8guUrRtP1772Wm4V/lZTOevKhhdywRkX1QLYqj5gP0jBv9OxlnpTaieTj6VNB16Kte7ltP6DsKQ8p1KcoYugjMjsYTgV0QGybfu1Qz/xDBZxLB3LNtZQ6VB2fGs4hSRiS6Ue1bkaCr1tdKYKgHEwnHriB8JK2oSPz6R2YRXuja/8H6UKkaTzWs/kb9Xvj5KK87eUSNLMAuvXE9UdTOgZA4IpxI+7TNL7PalcewSKD6NgkzHWw+2u+jyJaM4fyKpaR40X9JD97Ne5hG12dcgmtF+nadavatb3LNpxVEh6ejpkzPjQA1z7xvEGSNuuRvrYpQA7CG50r10vAYTWdFgNAuIJ9L0ZqDgN0BRJX0dFdxYq4uBiVHRNKi5DlCxRhNHSQ6GHYg8tfRTdVYUQxVCAPgGKYhS6qk+UqP5LFyURin3VlCxQ5FfD71ASGHBXxwZNNVS/oSAjK8qS9rR5GRunwJ7i9VvQayKL9rnVsKjPrMfZ9jXMiq6IWcEszHKjizGrkXgvRsPuYdEhc41otMdJg4Z9MTQCI89twDXQXjlSqW74Ksr8GzhCHhohsRKthoBsBmkNNgyFOEBhMpIVjUS34/mqPFxhksM3wVBDtEfUQEM4l9IQtm3g+dFwPzyfHPqZsGxbQHkNz0nBL4nyQgbXoVg35FmaquED5aacuVcxWG3YS5B3q+YqJT/UFzrbwEezuw9BY3qSl3+EivNI1+HQMzDBI0cPfgtATE3/9Z8HxH4EiOvNCIh7RWLA1tf3+jzQNm8WheBbl1MI2ODMmNQGGQ2K3FJNYVSdQC+R4/+y+G7V3Rzi2zZ9/RcTzhsh3DySPLicCGyeakA4uK4mKIoqnkE5bljljd9tNc+gp6vZqW673v/b7iBZzkI4U9ObDHzum76/3PEtaX7n+DcR39f0nsEO55ERz3zREAtBzr1uWuZOroP98XU6KOsZX50yw3GNskBx/F+s/Nl17dHbDxyOcNh/m+QJ1e6/tjoMuv8z8fIX&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);">
<defs/>
<g>
<path d="M 90 80 L 90 113.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 118.88 L 86.5 111.88 L 90 113.63 L 93.5 111.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="90" cy="40" rx="88.75" ry="40" 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: 176px; height: 1px; padding-top: 40px; margin-left: 2px;">
<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">
query_data
</font>
</div>
</div>
</div>
</foreignObject>
<text x="90" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
query_data
</text>
</switch>
</g>
<path d="M 90 180 L 90 223.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 228.88 L 86.5 221.88 L 90 223.63 L 93.5 221.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="120" width="180" height="60" 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: 178px; height: 1px; padding-top: 150px; margin-left: 1px;">
<div data-drawio-colors="color: #000000; background-color: #FFFFFF; " 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; background-color: rgb(255, 255, 255); white-space: normal; overflow-wrap: normal;">
输入查询的图书编号
</div>
</div>
</div>
</foreignObject>
<text x="90" y="154" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入查询的图书编号
</text>
</switch>
</g>
<path d="M 90 310 L 90 343.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 348.88 L 86.5 341.88 L 90 343.63 L 93.5 341.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 176.25 270 L 233.63 270" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 238.88 270 L 231.88 273.5 L 233.63 270 L 231.88 266.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 90 230 L 176.25 270 L 90 310 L 3.75 270 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: 171px; height: 1px; padding-top: 270px; margin-left: 5px;">
<div data-drawio-colors="color: #000000; background-color: #FFFFFF; " 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; background-color: rgb(255, 255, 255); white-space: normal; overflow-wrap: normal;">
for i=0 to num_parts
<br/>
开始查询
</div>
</div>
</div>
</foreignObject>
<text x="90" y="274" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
for i=0 to num_parts...
</text>
</switch>
</g>
<rect x="185" y="245" width="30" height="30" fill="none" stroke="none" 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: 260px; margin-left: 200px;">
<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: nowrap;">
N
</div>
</div>
</div>
</foreignObject>
<text x="200" y="264" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
N
</text>
</switch>
</g>
<rect x="85" y="315" width="30" height="30" fill="none" stroke="none" 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: 330px; margin-left: 100px;">
<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: nowrap;">
Y
</div>
</div>
</div>
</foreignObject>
<text x="100" y="334" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Y
</text>
</switch>
</g>
<path d="M 90 410 L 90 453.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 458.88 L 86.5 451.88 L 90 453.63 L 93.5 451.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="350" width="180" height="60" 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: 178px; height: 1px; padding-top: 380px; margin-left: 1px;">
<div data-drawio-colors="color: #000000; background-color: #FFFFFF; " 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; background-color: rgb(255, 255, 255); white-space: normal; overflow-wrap: normal;">
查询到所查询的图书
</div>
</div>
</div>
</foreignObject>
<text x="90" y="384" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
查询到所查询的图书
</text>
</switch>
</g>
<path d="M 90 520 L 90 563.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 568.88 L 86.5 561.88 L 90 563.63 L 93.5 561.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="0" y="460" width="180" height="60" 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: 178px; height: 1px; padding-top: 490px; margin-left: 1px;">
<div data-drawio-colors="color: #000000; background-color: #FFFFFF; " 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; background-color: rgb(255, 255, 255); white-space: normal; overflow-wrap: normal;">
给出该图书的索引号
</div>
</div>
</div>
</foreignObject>
<text x="90" y="494" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
给出该图书的索引号
</text>
</switch>
</g>
<ellipse cx="90" cy="610" rx="90" ry="40" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<path d="M 320 300 L 320 540 Q 320 550 310 550 L 96.37 550" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 91.12 550 L 98.12 546.5 L 96.37 550 L 98.12 553.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="240" y="240" width="160" height="60" 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: 270px; margin-left: 241px;">
<div data-drawio-colors="color: #000000; background-color: #FFFFFF; " 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; background-color: rgb(255, 255, 255); white-space: normal; overflow-wrap: normal;">
未查询到所查询的图书
</div>
</div>
</div>
</foreignObject>
<text x="320" y="274" fill="#000000" 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>

Before

Width:  |  Height:  |  Size: 15 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

@ -0,0 +1,62 @@
<mxfile host="65bd71144e">
<diagram id="tDGvQbl3oLUUFcwPXWvN" name="Page-1">
<mxGraphModel dx="873" dy="568" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="10" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="2" target="4">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="save" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="40" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="3" value="结束" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="490" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="11" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="4" target="7">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="4" value="输入文件名" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="160" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="12" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="7" target="9">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="14" value="" style="edgeStyle=none;html=1;startArrow=none;" edge="1" parent="1" target="8">
<mxGeometry relative="1" as="geometry">
<mxPoint x="260" y="290" as="sourcePoint"/>
</mxGeometry>
</mxCell>
<mxCell id="17" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="7" target="8">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" value="打开成功?" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="55" y="260" width="130" height="80" as="geometry"/>
</mxCell>
<mxCell id="20" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="8" target="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="320" y="480" as="targetPoint"/>
<Array as="points">
<mxPoint x="320" y="530"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="8" value="提示打开文件失败" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="260" y="270" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="edgeStyle=none;html=1;" edge="1" parent="1" source="9" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="9" value="将所有库存记录读入库存" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="390" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="18" value="no" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="190" y="260" width="60" height="30" as="geometry"/>
</mxCell>
<mxCell id="19" value="yes" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="60" y="340" width="60" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,67 @@
<mxfile host="65bd71144e">
<diagram id="FIxWEpzADEPcJok-8dmB" name="第 1 页">
<mxGraphModel dx="873" dy="568" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" background="#ffffff" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="3" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontColor=#000000;strokeColor=#000000;" parent="1" source="2" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="180" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="&lt;font color=&quot;#000000&quot;&gt;update_data&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#000000;" parent="1" vertex="1">
<mxGeometry x="60" y="60" width="180" height="80" as="geometry"/>
</mxCell>
<mxCell id="5" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="4" target="6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="290" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="输入图书编号" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="65" y="180" width="170" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="420" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="290" y="330" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="6" value="查找图书是否已录入" style="rhombus;whiteSpace=wrap;html=1;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="65" y="290" width="170" height="80" as="geometry"/>
</mxCell>
<mxCell id="9" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="245" y="295" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="10" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="145" y="375" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="11" target="13" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="530" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="11" value="输出图书信息" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="67.5" y="420" width="165" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" value="结束" style="ellipse;whiteSpace=wrap;html=1;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="65" y="520" width="170" height="80" as="geometry"/>
</mxCell>
<mxCell id="15" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="14" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="150" y="500" as="targetPoint"/>
<Array as="points">
<mxPoint x="350" y="500"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="14" value="退出" style="rounded=0;whiteSpace=wrap;html=1;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="290" y="300" width="120" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -1,147 +0,0 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="351px" height="541px" viewBox="-0.5 -0.5 351 541" content="&lt;mxfile&gt;&lt;diagram id=&quot;FIxWEpzADEPcJok-8dmB&quot; name=&quot;第 1 页&quot;&gt;5VjLctowFP0abTO2hQ1eYjDtpp3OZNFm1VGwsD0RFhVygHx9JVnyA9lJSoFpqIcB6eh9zz33WgA4W+8/MbTJvtAEE+A5yR7AOfC80B2LbwkcKiAIRhWQsjypILcB7vMXrEFHo2We4G2nI6eU8HzTBZe0KPCSdzDEGN11u60o6a66QSm2gPslIjb6PU94VqET32nwzzhPM7Oy6+iWR7R8ShktC70e8OBKPVXzGpm5dP9thhK6a0EwBnDGKOVVab2fYSJNa8xWjVsMtNb7Zrjg7xkA9Tb4wRwdJ8ISulrQQvxEGV8TUXNFEe9z/kOUnTtf1x5aLXPJv2MqB11Z0YLPKKFMLQAd9Qh8yxl9wn0t1abkTgaPpaEtLdlS9/Jq+wm3xHSNOTuILgwTxPPn7lRIO0ha96uHfqO5WMRztC+7hnTtyu7E6U7BEUsx16MaU4tCaxsNpAjoJ8OrJn5GpMTGfQLCtQmVuxtbBb9K6SJRY7UWFKTyt9wkiOOf4guZacQGqpmqHjb3hAiFScp3Wc7x/QYp2+6ExrtusMoJaRG3UM87KH3GjOP966TaDOoBQZcIU901Aq25yVriPOarTXmHrFeY8a8gk2HbDQnoNJnoSFy5rTblVZTjhRdTzshWTjwBUQxCCGIfTHww9WUhjCQYj0AUgmkA4jGIZiAMVJ8FiMYWzSqU40RT9IYq/pzBIR2dQy1+f9hqy2XcI5fgDHKx7fhx5XIdbYy8i2ljciIZbouKhphbJKMOTJoMCC9GRtATqAIQLlR8CsAkVPHJDlSizwRMF6rJUYgvw1XkqcIchH4T56wYltH1Y7n92PGr5uit+HWOdB9aLH21rCpOxrvmQyRPC1FeihNiYZFInj8Xl4qpbljnSSKHRwxv8xf0qKaSZtxIz1L79SPgz+VcJafb6lpkM6M12za+gV5V21/x4Y2OCfEtQmAPH8daOoUPcy1sEfLw3xPiHhECx1ckxLuhDO+afxhab8QuvEra9y+XacypBt+JRfaY9qUaURDpyFXpyJU554beicd3Xc3Ur13trGIyz7nfil1oM3LyDfzfsmvXqn6fVS+Vq91bupu7o+uEHed9YWfKGDq0uum0OLgOHFinobKa8eSY1nfPD4FwI/GpY9rtxCvrYuL0CMs7zyVeVJu/nStumr/2Yfwb&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);">
<defs/>
<g>
<path d="M 90 80 L 90 113.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 118.88 L 86.5 111.88 L 90 113.63 L 93.5 111.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="90" cy="40" rx="90" ry="40" 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: 178px; height: 1px; padding-top: 40px; 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">
update_data
</font>
</div>
</div>
</div>
</foreignObject>
<text x="90" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
update_data
</text>
</switch>
</g>
<path d="M 90 180 L 90 223.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 228.88 L 86.5 221.88 L 90 223.63 L 93.5 221.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="5" y="120" width="170" height="60" 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: 168px; height: 1px; padding-top: 150px; margin-left: 6px;">
<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="90" y="154" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入图书编号
</text>
</switch>
</g>
<path d="M 90 310 L 90 353.63" fill="none" stroke="#000000" 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="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 175 270 L 223.63 270" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 228.88 270 L 221.88 273.5 L 223.63 270 L 221.88 266.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 90 230 L 175 270 L 90 310 L 5 270 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: 270px; margin-left: 6px;">
<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="90" y="274" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
查找图书是否已录入
</text>
</switch>
</g>
<rect x="185" y="235" width="30" height="30" fill="none" stroke="none" 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: 250px; margin-left: 200px;">
<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: nowrap;">
N
</div>
</div>
</div>
</foreignObject>
<text x="200" y="254" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
N
</text>
</switch>
</g>
<rect x="85" y="315" width="30" height="30" fill="none" stroke="none" 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: 330px; margin-left: 100px;">
<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: nowrap;">
Y
</div>
</div>
</div>
</foreignObject>
<text x="100" y="334" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
Y
</text>
</switch>
</g>
<path d="M 90 420 L 90 453.63" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 90 458.88 L 86.5 451.88 L 90 453.63 L 93.5 451.88 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="7.5" y="360" width="165" height="60" 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: 163px; height: 1px; padding-top: 390px; margin-left: 9px;">
<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="90" y="394" fill="#000000" font-family="Helvetica" font-size="12px" text-anchor="middle">
输出图书信息
</text>
</switch>
</g>
<ellipse cx="90" cy="500" rx="85" ry="40" fill="#ffffff" stroke="#000000" pointer-events="all"/>
<path d="M 290 300 L 290 430 Q 290 440 280 440 L 96.37 440" fill="none" stroke="#000000" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 91.12 440 L 98.12 436.5 L 96.37 440 L 98.12 443.5 Z" fill="#000000" stroke="#000000" stroke-miterlimit="10" pointer-events="all"/>
<rect x="230" y="240" width="120" height="60" 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: 270px; margin-left: 231px;">
<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="290" y="274" fill="#000000" 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>

Before

Width:  |  Height:  |  Size: 13 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB

Loading…
Cancel
Save