Merge branch 'master' into 杨腾泽

杨腾泽
yangtengze 2 years ago
commit 07eb86bb89

@ -311,4 +311,29 @@ Step4: if输入的商品id不存在则返回“您输入的商品名称没有找
Step1if没有商品数据则显示“您的数据库内没有商品
step2: 输入商品编号打印表格
![图表模块流程图](images/Show.drawio.svg)
![图表模块流程图](images/Show.drawio.svg)
#### main
Step 1: 初始化
Step 2: 根据用户选择的命令执行对应的操作
Step 2.1: 显示菜单
Step 2.2: 选择菜单命令 c
Step 2.3: if c == CMD_READ then 读取数据
Step 2.4: if c == CMD_SAVE then 保存数据
Step 2.5: if c == CMD_PRINT then 打印数据
Step 2.6:
![主程序流程图](images/main.drawio.svg)
#### savedata
Step 1: 输入文件名
Step 2: 打开文件
Step 3: if 打开文件失败 then 提示打开文件失败并结束
Step 4: 将所有库存记录写入文件
Step 5: 关闭文件
![保存数据流程图](images/saveData.drawio.svg)

@ -1,110 +1,110 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="261px" height="621px" viewBox="-0.5 -0.5 261 621" content="&lt;mxfile&gt;&lt;diagram id=&quot;Va4TygbyCzQj2krgmKHs&quot; name=&quot;第 1 页&quot;&gt;1ZhNc9owEIZ/zR7TsfwpHW1w2ktnOpND26OLVewZYzFCBOiv78qWwZbNNCUEkhPS6vvdfbQy4M1W+88yWxdfRc4rcJ18D94cXJdENMQfbTm0lsDxWsNSlrnpdDI8lX+4MTrGui1zvhl0VEJUqlwPjQtR13yhBrZMSrEbdvstquGq62zJR4anRVaNrd/LXBWtlbrRyf6Fl8uiW5mErG1ZZV1nc5JNkeVi1zN5KXgzKYRqS6v9jFdavE6XdtzjmdbjxiSv1UsGuO2A56zamrNB6kPyCHEKaQgMy0wXYgoxgTQANgdmjrlRh04QWYjVry2qmuyKUvGndbbQLTt0P9oKtaqwRrBoluNS8f3ZLZOjEBhBXKy4kgfssu+CpR1hYof4pr47eYJ08hY9L1Bjy4zzl8eZT/pgwUg0LZc3lsuWgtd5rEMMa7Wo+fD4eER5+IEV51PQVX/22+b6kM6xdjC1dhWej8LSEg05yOSSq55zxzr2hAomdOpskleZKp+HK06JZ1b4Jkrcy9FNdOimkfwbsZULbgb1I9Sah3jWRJ41UXvi0USNK4+nfpF3/QkYAqAY+n4DA2Iw1wU6AxpByoC5uhX7ICRJCCnV5CAzmpMEWNqxRJpRBOLHMTliW+c8NzHw9vS4Z9zyL3rCK9ATfCh6/HvSEw7d5LuX0kOGE3nRm9ETTtKDeYTFDQcMaJNKGOLiQBpBkgD1dQGJwfyi+8RAU5xPJ5wOJCwk7O7YkDP+uAU20YfCJrwnNv7QTYEd7S/Fhlnz2Phdjxo6QQ2mEaTGa5IPAhBoItrUkugCphPMQO+PkQdyRv1bQMJeCcllwU7vGewPVi6PnAuj3aIm9N8s2rsIucZdFv7XZdbUvnFZ4m65fNUNd1en2wn9YqcTK3pCm8Irep1MXnI0wbtN32OJa57IbNa8EZo3N2Mf4j394J/xxy0uPTL1+d4T1tYTn2BO8xxrhDXfMJ7ONm1aMa8w6+v/3WlOnNtpjtXTvzFt7J/+0/LSvw==&lt;/diagram&gt;&lt;/mxfile&gt;">
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="311px" height="651px" viewBox="-0.5 -0.5 311 651" content="&lt;mxfile&gt;&lt;diagram id=&quot;Va4TygbyCzQj2krgmKHs&quot; name=&quot;第 1 页&quot;&gt;zVhNc5swEP01OqbDN9IRbJxeOpOZHNocqVENMxh5ZBzb/fVdgWQjAa7rOg65RLuSFmnfvt2VkTtbH555usm/sYyWyLGyA3LnyHFsP7Dhn9AcW43nhq1ixYtMLjorXovfVCotqd0VGd1qC2vGyrrY6Molqyq6rDVdyjnb68t+sVL/6iZd0Z7idZmWfe33IqvzVoud8Kz/SotVrr5sB6SdWadqsbzJNk8ztu+o3AS5M85Y3Y7WhxkthfOUX9p9i5HZ08E4reprNrjthve03Mm7yXPVR3VZWmWR8BlIFatAGef1ugTJhiF8hh9/gGB98ZX41p2bC9Ctk3RU0qGoO9tAeuvMnDcJQe3p301hn/IVVSp5I5ppEMrbP1O2pnAOWLA/A+dLMPIOZkrHaZnWxbsOfCrjZ3Uyd/rCCyvgdI4lYz2QZmSgO9jSLWzZji+p3NTFybAT6nZsYthpXdCzA4POpc+qJgqGI8L/pIgYRXeaSHrOjUgadlzP+mJ1/uyPwjXo45r4KEoQiVDioZggTFASIOKj2EJJiOIYYU8MiIci3KyJEE7AHqyKFkItDCzEVjNCONtVGc0k7Pu8qOnrJl2K2T2UBD1iRpF/p7ymh4vYm2h0YsF2BoIhsMZx15x7wZPh1BjShp4sQv2UGEyZR76JyLU8IoYdk4/3Yw4eYA5GMTDHFQzAQAJfsAJ0wIpYDCIb4dkEeeKHD+SJ6tbuQZTg37oLIb1QXsCZKe+1HLYXdJqOJ5GA3YudhxBMc1ex0Xb6dMSToqNt6zwKrRv5eAojaSgwQ2iEkAB/euws24gF2wsHtozvhFqHC4PW4q1stxWpdLrjGFguGB07gt2iUM6aigkJACNCFP0bskMSIElTMRdyMbZFBvg0+svZJzIC9kPSgXPZsaY/oSGxmuakcSwOhQYyLuTdNsHKnmQhehixvelhpudzM14f6/OB992A0wLhTOE0CN05ImE/TZclvK3pQ2rUKSP9zUHmW+omB/3vc+e6MjDwUJ1WGfCMIL31dUOGk/P9i8DH1oChlq9JTJHX0AYIM29SzEwlJkfMwhqgUxzcVgxytv65217LsR6hBqJwvBCoZ775u0SXc+F9OAfi+fesFozzr4Ju8gc=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 150 0 L 210 40 L 150 80 L 90 40 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 150 170 L 150 80" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 150 310 L 150 230" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="90" y="310" width="120" height="60" rx="9" ry="9" 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: 40px; margin-left: 91px;">
<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: 340px; margin-left: 91px;">
<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;">
修改模块
定义数组用于id比对
</div>
</div>
</div>
</foreignObject>
<text x="150" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
修改模块
<text x="150" y="344" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
定义数组用于id比对
</text>
</switch>
</g>
<path d="M 120 140 L 150 80" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="60" y="140" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 150 460 L 150 370" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="90" y="460" width="120" height="60" rx="9" ry="9" 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: 170px; margin-left: 61px;">
<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: 490px; margin-left: 91px;">
<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;">
判断指针并返回信息
输入id进行比对
</div>
</div>
</div>
</foreignObject>
<text x="120" y="174" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
判断指针并返回信息
<text x="150" y="494" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入id进行比对
</text>
</switch>
</g>
<path d="M 100 280 L 120 200" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="50" y="280" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 207.52 589.82 L 195.07 568.62 Q 190 560 185.18 551.24 L 168 520" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="0" y="590" width="120" height="60" rx="9" ry="9" 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: 310px; margin-left: 51px;">
<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: 620px; 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;">
定义数组用于id比对
若没有则返回信息
</div>
</div>
</div>
</foreignObject>
<text x="110" y="314" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
定义数组用于id比对
<text x="60" y="624" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
若没有则返回信息
</text>
</switch>
</g>
<path d="M 80 430 L 110 340" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="30" y="430" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<rect x="190" y="590" width="120" height="60" rx="9" ry="9" 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: 460px; margin-left: 31px;">
<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: 620px; margin-left: 191px;">
<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;">
输入id进行比对
若有则通过链表修改信息
</div>
</div>
</div>
</foreignObject>
<text x="90" y="464" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入id进行比对
<text x="250" y="624" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
若有则通过链表修改信息
</text>
</switch>
</g>
<path d="M 20 560 L 69 490" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 150 560 L 108 490" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="0" y="560" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<ellipse cx="150" cy="40" rx="60" 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: 118px; height: 1px; padding-top: 590px; margin-left: 1px;">
<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: 40px; margin-left: 91px;">
<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="60" y="594" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
若没有则返回信息
<text x="150" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
修改模块
</text>
</switch>
</g>
<rect x="140" y="560" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 80 590 L 94.45 568.32 Q 100 560 105.81 551.86 L 128.57 520" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 150 170 L 235 210 L 150 250 L 65 210 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: 590px; margin-left: 141px;">
<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: 210px; margin-left: 66px;">
<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="200" y="594" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
若有则通过链表修改信息
<text x="150" y="214" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
判断指针并返回信息
</text>
</switch>
</g>
@ -113,7 +113,7 @@
<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%">
Viewer does not support full SVG 1.1
Text is not SVG - cannot display
</text>
</a>
</switch>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

@ -1,101 +1,101 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="321px" height="426px" viewBox="-0.5 -0.5 321 426" content="&lt;mxfile&gt;&lt;diagram id=&quot;kVJqyZt4jpgCLin7oq8k&quot; name=&quot;第 1 页&quot;&gt;1VfLcpswFP0abTuAkI2WxsbtpjOZyaLJUjWKYQqIkeXY7tf3CsRL4MRJnHi6YaSjKwmdc48eCC/z43fJyuSniHmGPCc+IrxCnkcJha8GTjVAHFwDW5nGNeR2wH36lxvQMeg+jfluEKiEyFRaDsGNKAq+UQOMSSkOw7AnkQ1nLdmWj4D7DcvG6K80VkmNBt68w3/wdJs0M7szs+CcNcFmJbuExeLQg3CE8FIKoepSflzyTHPX8FL3W59pbX9M8kJd0sGrOzyzbG/WhqIZCucoDFFEULBAC0cjiwAtXI3QFaJmmTt1agiRich/74HV8JCkit+XbKNbDqA+YInKM6i5UDTTcan48ewvuy0RkEBc5FzJE4SYDm0WmORpuTx0UrhzgyU9GRqMGfW37dAdQVAwHE3zhSf4ApqAHV/TRIGpFYooohiFEYoq1oA73QTldcWggxYzXYBIADWy1DE2p5AapS4CMyzLeCa2kuVAYcllCv/Npd121zW8JsNTeuSNr64lCyYDWTCdkMWbkIVcQRZ/LItNJy/ihbY+1ApR8CEfsEZ5eoCK84001cd+20qv0mlrJ1OrZ+HxaLuwWIP9icktVz3TjYnsEUVe4EnyjKn0eTjjFHlmhjuRwr90OlFnWqdmiJ3Yyw03vfpbhzUQ9q2BfGugesmjgSot22VfJO/sv5IX31TeYKgKca8kr/958s4nNlUfhQEKVhP7JGyq4RpRv0JCRCMOusvxkST2Rcxjo/IXHEveGeJf2/9mV9j/go8a5Jiqh175sfMK1Dp36MrbzVGn3OAA7fuF3tIvmFhpbstxqV/8uTWQfa6d8QuIwk69sFIH7D7oKDrhqLGRqosLpVUT+K26wQRgrfoOiBElldkifZvRwRBGqqsMQWF1KwR/LqIXnOd8ifN860LYKvEVzmvmfrf1LrXRrQzSGqLZ14J3GoRYMhH8aQeK607k/ziTq1eORmbVs2Y9PlrEn9tnt2PzTz4tu6HaPT1r3rv3O47+AQ==&lt;/diagram&gt;&lt;/mxfile&gt;">
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="341px" height="481px" viewBox="-0.5 -0.5 341 481" content="&lt;mxfile&gt;&lt;diagram id=&quot;kVJqyZt4jpgCLin7oq8k&quot; name=&quot;第 1 页&quot;&gt;zVjLjpswFP0ab0eAeS4hIdNNpZGyaGdJgyegEhw5zqtf32tjBzAkStNJJpuR7/ED+9x7jp1BeLI6vLJsXXynOamQY+UHhKfIcQLswl8BHBvAxUEDLFmZN5DdAvPyD1GgpdBtmZNNbyCntOLlug8uaF2TBe9hGWN03x/2Qav+V9fZkgyA+SKrhuiPMudFg4ZO0OLfSLks9JdtP2p6VpkerE6yKbKc7jsQThGeMEp501odJqQS3GlemnmzM72njTFS82smqETssmqrzqb2xY/6sKTOY8EZRDWtAUwKvqogsqFJDiX/CW3rxVPRu4hUe3roBkcVDPeotr2hW7bQFOMGI3kvFeoUr4SuCGdHGLBvE+ApUosO9xpjpMp4uesnMFN1sDwtd/rCGy1hd46lStbxAzihnKRqFgdWf5Fm92pel3JzKT1RLeSExkI8Y0vCBwtBo3PwFpIZHc9uMMxu6qIkROEUpR6KpygKRSOaoBgaIUpmKHIlkqAoJZB2NqgHRrd1TnJVAPui5GS+zmTe9qD2fn2czfWOME4OFzOre60+X56jEtHJvO2MpN63zme5R+oFBrXjPIdADDEYivlSgWDcz5Lv3igPHBrpju4mD9seJleIIEURFiIIQSIeSgOUJBLxUQSKmQ2FQn9fUIn1EJVgx+Bf5/UhKnFGiPRRIpkTRMYotgQCLhPbkjYgMhgqqargCicPIewkbW3D+ErCTLu+iTA8QhjwBPS4ss58Yc5pJMoOyjGVtAmL9oVjxzNJoYVif8TGB5VY0NWv7eYxpBpefboku6S69yL1vx8zNXyxY9YifO/2tXYtI+3Xd3sEKYU0jvec7yLD9j371leRYfuu6UufaPveqPjM15CUYxTJLng0SV2GYPuNtWEUeWOXhS/wRJodPLLi9MLF8Jjnk3kxeNf63KdcDP6XS9J1u5p8sZyLshTBG2ElnJSwf5GqLqon1ioePKSfTqsQtr99m+HtPxBw+hc=&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 85 0 L 170 35 L 85 70 L 0 35 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 170 140 L 170 50" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="0" y="295" width="120" height="60" rx="9" ry="9" 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: 168px; height: 1px; padding-top: 35px; margin-left: 1px;">
<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: 325px; 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;">
添加模块
不存在返回error
</div>
</div>
</div>
</foreignObject>
<text x="85" y="39" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
添加模块
<text x="60" y="329" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
不存在返回error
</text>
</switch>
</g>
<path d="M 25 220 L 45 170 L 145 170 L 125 220 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 280 420 L 280 360" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="220" y="420" width="120" height="60" 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: 195px; margin-left: 26px;">
<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: 450px; margin-left: 221px;">
<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;">
判断链表是否存在
输入结束返回ok
</div>
</div>
</div>
</foreignObject>
<text x="85" y="199" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
判断链表是否存在
<text x="280" y="454" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入结束返回ok
</text>
</switch>
</g>
<path d="M 80 170 L 85 70" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 70 290 L 85 220" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="10" y="290" width="120" height="60" rx="9" ry="9" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<ellipse cx="170" cy="40" rx="60" 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: 118px; height: 1px; padding-top: 320px; margin-left: 11px;">
<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: 40px; margin-left: 111px;">
<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;">
不存在返回error
添加模块
</div>
</div>
</div>
</foreignObject>
<text x="70" y="324" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
不存在返回error
<text x="170" y="44" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
添加模块
</text>
</switch>
</g>
<path d="M 135 195 L 215.88 250" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="200" y="250" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 170 140 L 240 180 L 170 220 L 100 180 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: 280px; margin-left: 201px;">
<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: 180px; margin-left: 101px;">
<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="260" y="284" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
存在则头插法输入数据
<text x="170" y="184" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
判断链表是否存在
</text>
</switch>
</g>
<path d="M 250 360 L 300 310" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="190" y="365" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/>
<path d="M 60 295 L 170 220" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<rect x="220" y="300" width="120" height="60" rx="9" ry="9" 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: 395px; margin-left: 191px;">
<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: 330px; margin-left: 221px;">
<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;">
输入结束返回ok
存在则头插法输入数据
</div>
</div>
</div>
</foreignObject>
<text x="250" y="399" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
输入结束返回ok
<text x="280" y="334" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">
存在则头插法输入数据
</text>
</switch>
</g>
<path d="M 272.8 301.2 L 170 220" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
</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%">
Viewer does not support full SVG 1.1
Text is not SVG - cannot display
</text>
</a>
</switch>

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Loading…
Cancel
Save