README.md修改

master
yujia jin 2 years ago
parent 80acc2f4cb
commit 66728c5fec

@ -416,7 +416,7 @@ Step 3: if 没有该学生 then 则输出学生不存在
Step 4: 将查找到的学生后面的依次往前移动信息
Step 5: 将学生总数减一
Step 6: 提示删除成功
![打印记录流程图](images/delete_data.drawio.svg)
![打印记录流程图](deletesortupdate.svg)
#### sort_data

@ -0,0 +1,65 @@
<mxfile host="65bd71144e">
<diagram id="Uf4MrvIJV9QvCdgB-vOY" name="Page-1">
<mxGraphModel dx="242" dy="523" 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="3" style="edgeStyle=none;html=1;fontSize=16;" edge="1" parent="1" source="2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="180" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="&lt;font color=&quot;#ff0000&quot; style=&quot;font-size: 16px;&quot;&gt;delete_data&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="70" y="30" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="6" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=16;fontColor=#FF0000;" edge="1" parent="1" source="4" target="5">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="4" value="&lt;span style=&quot;background-color: rgb(13, 13, 13);&quot;&gt;输入图书编号&lt;/span&gt;" style="rounded=1;whiteSpace=wrap;html=1;labelBackgroundColor=#e20303;fontSize=16;" vertex="1" parent="1">
<mxGeometry x="70" y="180" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" style="edgeStyle=none;html=1;fontSize=16;fontColor=#FFFFFF;" edge="1" parent="1" source="5">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="390" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;fontSize=16;fontColor=#FFFFFF;" edge="1" parent="1" source="5" target="10">
<mxGeometry relative="1" as="geometry">
<mxPoint x="330" y="370" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="5" value="&lt;font color=&quot;#ffffff&quot;&gt;查找图书所在位置&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#0d0d0d;fontSize=16;fontColor=#FF0000;" vertex="1" parent="1">
<mxGeometry x="70" y="280" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=16;fontColor=#FFFFFF;" edge="1" parent="1" source="8" target="14">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="510" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="8" value="删除该图书信息" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#0d0d0d;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="70" y="390" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="10" value="输出该图书不存在" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#0d0d0d;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="270" y="340" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="11" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="105" y="345" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="12" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="210" y="295" width="40" height="30" as="geometry"/>
</mxCell>
<mxCell id="15" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=16;fontColor=#FFFFFF;" edge="1" parent="1" source="14" target="16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="590" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" value="图书总数减一" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#0d0d0d;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="70" y="480" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="16" value="提示删除成功" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#0d0d0d;fontSize=16;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="70" y="560" width="120" height="60" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

@ -0,0 +1,54 @@
<mxfile host="65bd71144e">
<diagram id="ktBARE-SRG74nQ3XP5kN" name="Page-1">
<mxGraphModel dx="1092" dy="523" 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="3" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=16;fontColor=#e11414;" edge="1" parent="1" source="2" target="4">
<mxGeometry relative="1" as="geometry">
<mxPoint x="120" y="140" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="&lt;font color=&quot;#e11414&quot; style=&quot;font-size: 16px;&quot;&gt;sort_data&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="60" y="20" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="5" style="edgeStyle=none;html=1;fontSize=16;fontColor=#fbf9f9;" edge="1" parent="1" source="4" target="6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="120" y="230" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="&lt;font color=&quot;#fbf9f9&quot;&gt;按借阅次数进行排序&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=16;fontColor=#e11414;" vertex="1" parent="1">
<mxGeometry x="60" y="130" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" value="if无交换排序结束" style="rounded=0;whiteSpace=wrap;html=1;fontSize=16;fontColor=#fbf9f9;" vertex="1" parent="1">
<mxGeometry x="60" y="250" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="11" value="" style="endArrow=classic;html=1;fontSize=16;fontColor=#fbf9f9;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="6" target="4">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="120" y="230" as="sourcePoint"/>
<mxPoint x="40" y="160" as="targetPoint"/>
<Array as="points">
<mxPoint y="280"/>
<mxPoint y="160"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="12" value="else" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=16;fontColor=#fbf9f9;" vertex="1" parent="1">
<mxGeometry y="210" width="50" height="30" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="endArrow=classic;html=1;fontSize=16;fontColor=#fbf9f9;" edge="1" parent="1" target="14">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="120" y="220" as="sourcePoint"/>
<mxPoint x="240" y="220" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" value="按编号进行排序" style="rounded=0;whiteSpace=wrap;html=1;fontSize=16;fontColor=#fbf9f9;" vertex="1" parent="1">
<mxGeometry x="220" y="190" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="15" value="if次数相同" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=16;fontColor=#fbf9f9;" vertex="1" parent="1">
<mxGeometry x="110" y="190" width="100" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -0,0 +1,53 @@
<mxfile host="65bd71144e">
<diagram id="LAYBZQ2LxeKUWmR1-VNu" name="Page-1">
<mxGraphModel dx="242" dy="523" 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="5" style="edgeStyle=none;html=1;fontSize=14;fontColor=#dd1313;" edge="1" parent="1" source="2" target="6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="120" y="300" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="&lt;font style=&quot;font-size: 14px;&quot;&gt;输入图书编号&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="60" y="190" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="4" style="edgeStyle=none;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=16;fontColor=#dd1313;" edge="1" parent="1" source="3" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="3" value="&lt;font color=&quot;#dd1313&quot; style=&quot;font-size: 16px;&quot;&gt;updata_data&lt;/font&gt;" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" vertex="1" parent="1">
<mxGeometry x="60" y="50" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="7" style="edgeStyle=none;html=1;fontSize=14;fontColor=#FFFFFF;" edge="1" parent="1" source="6" target="8">
<mxGeometry relative="1" as="geometry">
<mxPoint x="120" y="400" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="6" value="&lt;font color=&quot;#ffffff&quot;&gt;查找图书是否存在&lt;/font&gt;" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fontColor=#dd1313;" vertex="1" parent="1">
<mxGeometry x="60" y="290" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" value="输出图书信息" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="60" y="390" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="125" y="355" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="10" value="" style="endArrow=classic;html=1;fontSize=14;fontColor=#FFFFFF;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="6" target="11">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="110" y="370" as="sourcePoint"/>
<mxPoint x="270" y="370" as="targetPoint"/>
<Array as="points">
<mxPoint x="270" y="320"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="11" value="直接退出" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="210" y="340" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="12" value="F" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=14;fontColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="205" y="295" width="30" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading…
Cancel
Save