pull/9/head
yangtengze 2 years ago
parent 1d8956047b
commit fdd93dad0b

@ -0,0 +1,186 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="491px" height="801px" viewBox="-0.5 -0.5 491 801" content="&lt;mxfile&gt;&lt;diagram id=&quot;BCGw69St5jXQmBpSYWn4&quot; name=&quot;Page-1&quot;&gt;5VlLc9sgEP41XHLo6P04Sn60l3Y6k0ObI7GIzBQLD8ax3V/fRUJPlMZOFDdtLwksLIJvv29ZycidbY4fBd6uP/OMMORY2RG5c+Q4YWjBX2U4VYbAsitDLmhWmTqGW/qTaKP2y/c0I7veRMk5k3TbN654UZCV7NmwEPzQn/bAWf+pW5wTw3C7wsy0fqOZXFfWyLda+ydC83X9ZNvSIxtcT9aG3Rpn/NAxuQvkzgTnsmptjjPCFHY1LpXf8onRZmOCFPIcB69yeMRsr8+m9yVP9WFJBmfX3YIX8C9dyw2Dng3NB15IHSA7hn7lrnye3JE27fherPQs/VSJRU70LLdBA1hE+IZIcYIpgjAs6WN/dazjmTfz2iNDQ596HAHHQGDOkyxLOf9hQsEYUEwhcFhTSW63uDzAAUg+gor2exqlRyIkOf4eJxOB2iHQFNIainT30BLSrgm57pCxnvcazKIpWRO8mDWuyZrwSqyxowtPTI5Ufu+076BtffB1b66CatWdU90pYFff24mqe9cda93KXu33ZujGr0S3dE2EwKfOhC2nhdx1Vv6qDC3Rfa9PdMe3BpGqVmzj1mztrFC6JpkXAYp9lFqqEc1RskAL6CYodpUlTVFio8USpTMULw0eiDXf3O93ZyaJTpiGSWOKJOGFQJ0eevZIngj9t8kTDa0uVUmrjLvOyLhKhjC+VDUvU0loquTVV9e4Dhy3H8nIG0So2oP2GgTpMkmE45KIUApKCFHiKTFoASRnqWVIA6h7tqoJ6GLGCOO5wBsIwpYIChslYjj2tR14Vlf0SOqi8Vo6G8TG9UyVOdbIbexPoDLbfh/XcWxKwbbGYZv8Po5HGFvSVZHQR5GPEl814rTkMBA4RkmgyKw4HJRzgM/huyLqBMT0BlXiGDGbSnJyYvrvg5j1lddjpnclZtYPv5iaYLFUPv3HGen512TkyM32RxjpjTAyuBYjR176z2Jkc8/HKApVvvzHqekHV6TmxUz8+2rliuFXKpaHX0fOK5Zf+3JaP2d5bhFvTfsyW0P8TOluahsay/K1Fmp4GyWg7YBBiNJ7Aa1ctUovB0Wzm5ubJMtIBv8Nyl74yjuFaP0+okHkm6INR0QbTHGfmHXnFwMTOJvsw4AZzQtor+CMZe5TCNAVZoke2NAsU+6pIDv6E9+XSynhaT7Cun6K/Llaay/5rk2LOyn4DzLjjIs2azxQxoam6SPhxoNPDY6ZPr2RQLhTZE+zyrr7bwPR1Jx1IGIzEO5bBWLkc9owDoLvC8gfGqjrp4zme1edhN2Re96Z5p6HbvtrTpXQ25/E3MUv&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 100 80 L 100 123.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 100 128.88 L 96.5 121.88 L 100 123.63 L 103.5 121.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="100" cy="40" rx="75" 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: 148px; height: 1px; padding-top: 40px; margin-left: 26px;">
<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: 19px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
DoAddBook
</div>
</div>
</div>
</foreignObject>
<text x="100" y="46" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="19px" text-anchor="middle" font-weight="bold">
DoAddBook
</text>
</switch>
</g>
<path d="M 100 210 L 100 253.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 100 258.88 L 96.5 251.88 L 100 253.63 L 103.5 251.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 187.5 170 L 395 170 Q 405 170 405 180 L 405 253.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 405 258.88 L 401.5 251.88 L 405 253.63 L 408.5 251.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 100 130 L 187.5 170 L 100 210 L 12.5 170 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: 173px; height: 1px; padding-top: 170px; margin-left: 14px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
数据库满?
</div>
</div>
</div>
</foreignObject>
<text x="100" y="175" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
数据库满?
</text>
</switch>
</g>
<path d="M 100 310 L 100 743.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 100 748.88 L 96.5 741.88 L 100 743.63 L 103.5 741.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 0 310 L 20 260 L 200 260 L 180 310 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: 198px; height: 1px; padding-top: 285px; 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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
显示:数据库满
</div>
</div>
</div>
</foreignObject>
<text x="100" y="290" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
显示:数据库满
</text>
</switch>
</g>
<path d="M 405 310 L 405 363.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 405 368.88 L 401.5 361.88 L 405 363.63 L 408.5 361.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 325 310 L 345 260 L 485 260 L 465 310 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 285px; margin-left: 326px;">
<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: 16px; 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="405" y="290" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle">
输入图书编号
</text>
</switch>
</g>
<path d="M 405 420 L 405 473.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 405 478.88 L 401.5 471.88 L 405 473.63 L 408.5 471.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 325 420 L 345 370 L 485 370 L 465 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: 158px; height: 1px; padding-top: 395px; margin-left: 326px;">
<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: 16px; 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="405" y="400" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle">
输入图书名
</text>
</switch>
</g>
<path d="M 405 530 L 405 598.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 405 603.88 L 401.5 596.88 L 405 598.63 L 408.5 596.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 325 530 L 345 480 L 485 480 L 465 530 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 505px; margin-left: 326px;">
<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: 16px; 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="405" y="510" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle">
输入图书数量
</text>
</switch>
</g>
<path d="M 405 665 L 405 710 Q 405 720 395 720 L 110 720 Q 100 720 100 730 L 100 743.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 100 748.88 L 96.5 741.88 L 100 743.63 L 103.5 741.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="320" y="605" width="170" 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: 168px; height: 1px; padding-top: 635px; margin-left: 321px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">
显示图书信息
<br/>
和***Added***
</div>
</div>
</div>
</foreignObject>
<text x="405" y="640" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle">
显示图书信息
和***Added***
</text>
</switch>
</g>
<rect x="260" y="140" width="40" 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: 155px; margin-left: 280px;">
<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: 16px; 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="280" y="160" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle">
N
</text>
</switch>
</g>
<rect x="75" y="210" 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: 225px; margin-left: 90px;">
<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: 16px; 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="90" y="230" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle">
Y
</text>
</switch>
</g>
<rect x="40" y="750" width="120" height="50" rx="7.5" ry="7.5" 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: 16 KiB

@ -0,0 +1,154 @@
<svg host="65bd71144e" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="704px" height="811px" viewBox="-0.5 -0.5 704 811" content="&lt;mxfile&gt;&lt;diagram id=&quot;0JUMHuX0zm64q-0W1Kxc&quot; name=&quot;Page-1&quot;&gt;3VlLc5swEP41umYQIARHsE17aSczObQ5UqNgphgxshzb/fWVQLxxQgx23VwSaaVF0u737SMBxmJ7/MKCbPONhiQBuhYegbEEuo6xJn5KwakQWBosBBGLw0LUEDzFf4gSKr1oH4dk19rIKU14nLWFa5qmZM1bsoAxemhve6FJ+9QsiEhP8LQOkr70RxzyTSG1kVbLv5I42pQnQ02tbINysxLsNkFIDw2RsQLGglHKi9H2uCCJtF1pl0LPP7NaXYyRlI9RMAuF1yDZq7epe/FT+VgSireraUpT8cvb8G0iZlAMX2jKlYOgJeaFutQ5eyMl2tE9W6td6lQesIioXUZlDYEiQreEs5PYwkgS8Pi1/fVA+TOq9tVPFgP16mEL6D0LLKkfp6FH6e++LZJEYEya4LCJOXnKgvwFB4HyAbMovfNmeiWMk+PbhuqbQCnoJagUiWAJv0MNyUq2acDR1qZbzboP3Bh93KAb4cb+4IPJMeY/G+NnMdYekJotpVO1cnJSk66RhCnY6WetKKfPpaKc1J/JZ+V3ZjMunmhcpfpIY3FuhWSErRaSDdxBaHEFpVW7yGUsODW2ZXLD7gPnQK3j8eKLtf+rN46ChNEnxQoBxwPeCqxM4DnAtaTEc4FjgBUGriPHKx94C+D4PUCJ5JDJofBTkCQkoRELtsKdGWGxuBZh3bXHeuHdABUfSZlZh/jYDWAzBCxo4wfUckAVipohC6N+yLJmCFkQX8jYmqXPjZV7ZCzqM7ZRVcxJWR23k4/dTSpnKHsBq9AAqyzg2DmrBIfMBofcUYTrwmBMLr8uNbq53NRG5vJZiNEvgf5JMsd99MIzZps9m+MBkOUIk7hBwEbARUPYwjnscpDZAoL9EHM/MXw6SlEHpYY1EqVoDpTeSasCy4azCdNbNSvwTuruQSPcqvIuD3+3znKXMk3IpQVw7fN11qT4Pz+tTBvdMPhf2sdMqYouBN1Ulo0rZXDXrLN1H2jwnLm6DzjUfnQLpe9U3sin+zT81KnKdNrGtvQBTlnX4pTz/3BqatAe2R6Y1+GUXYavzjmzcWpc89FPPmLgAxfKzTYErsg5ViK84P1iYhTJUb7kA0ervvP5WYnNNisHM515pf6//JP7W7XTBysBJj1GQjBfHwjbvHGG+kB9nrAlpvX/GQpu1P+sMVZ/AQ==&lt;/diagram&gt;&lt;/mxfile&gt;">
<defs/>
<g>
<path d="M 88 80 L 88 123.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 88 128.88 L 84.5 121.88 L 88 123.63 L 91.5 121.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<ellipse cx="88" cy="40" rx="75" 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: 148px; height: 1px; padding-top: 40px; margin-left: 14px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
DoFindBook
</div>
</div>
</div>
</foreignObject>
<text x="88" y="45" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
DoFindBook
</text>
</switch>
</g>
<path d="M 88 190 L 88 243.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 88 248.88 L 84.5 241.88 L 88 243.63 L 91.5 241.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 165.5 160 L 379 160 Q 389 160 388.8 170 L 388.13 203.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 388.02 208.88 L 384.66 201.81 L 388.13 203.63 L 391.66 201.95 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 0.5 190 L 20.5 130 L 175.5 130 L 155.5 190 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: 173px; height: 1px; padding-top: 160px; 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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
图书库空?
</div>
</div>
</div>
</foreignObject>
<text x="88" y="165" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
图书库空?
</text>
</switch>
</g>
<path d="M 88 310 L 83.07 743.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 83.01 748.88 L 79.59 741.84 L 83.07 743.63 L 86.59 741.92 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="13" y="250" width="150" 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: 148px; height: 1px; padding-top: 280px; margin-left: 14px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
显示:图书库空
</div>
</div>
</div>
</foreignObject>
<text x="88" y="285" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
显示:图书库空
</text>
</switch>
</g>
<path d="M 388 260 L 388 328.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 388 333.88 L 384.5 326.88 L 388 328.63 L 391.5 326.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 313 260 L 333 210 L 463 210 L 443 260 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: 148px; height: 1px; padding-top: 235px; margin-left: 314px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
输入图书编号
</div>
</div>
</div>
</foreignObject>
<text x="388" y="240" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
输入图书编号
</text>
</switch>
</g>
<path d="M 388 395 L 388 468.63" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 388 473.88 L 384.5 466.88 L 388 468.63 L 391.5 466.88 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 463 365 L 561.63 365" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 566.88 365 L 559.88 368.5 L 561.63 365 L 559.88 361.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<rect x="313" y="335" width="150" 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: 148px; height: 1px; padding-top: 365px; margin-left: 314px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
图书存在?
</div>
</div>
</div>
</foreignObject>
<text x="388" y="370" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
图书存在?
</text>
</switch>
</g>
<path d="M 388 535 L 388 600 Q 388 610 378 610 L 89.37 610" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 84.12 610 L 91.12 606.5 L 89.37 610 L 91.12 613.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 308 535 L 328 475 L 468 475 L 448 535 Z" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<g transform="translate(-0.5 -0.5)">
<switch>
<foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;">
<div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 158px; height: 1px; padding-top: 505px; margin-left: 309px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
显示Not Found
</div>
</div>
</div>
</foreignObject>
<text x="388" y="510" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
显示Not Found
</text>
</switch>
</g>
<path d="M 630.5 395 L 630.98 680 Q 631 690 621 690 L 89.37 690" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/>
<path d="M 84.12 690 L 91.12 686.5 L 89.37 690 L 91.12 693.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/>
<path d="M 558 395 L 578 335 L 703 335 L 683 395 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: 143px; height: 1px; padding-top: 365px; margin-left: 559px;">
<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: 16px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;">
显示图书信息
<br/>
提示Found
</div>
</div>
</div>
</foreignObject>
<text x="631" y="370" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="16px" text-anchor="middle" font-weight="bold">
显示图书信息
提示Found
</text>
</switch>
</g>
<rect x="23" y="750" width="120" height="60" rx="9" ry="9" 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: 14 KiB

@ -31,7 +31,7 @@
## 需求分析
分析系统的功能需求和界面需求,编制用户手册如下。
### Ca: 启动程序
### Ca启动程序
命令行中执行命令,系统启动,显示提示信息,然后显示功能菜单,等待用户输入命令。
```
*******图书管理系统启动*******
@ -41,7 +41,7 @@
————————————————————————————————————————————
请选择:
```
### Cb: 显示命令菜单
### Cb显示命令菜单
```
————————————————————————————————————————————
| 1 查书 | 2 借书 | 3 还书 | 4 打印 | 5 添加 |
@ -49,7 +49,7 @@
————————————————————————————————————————————
请选择:
```
### C0: 退出程序
### C0退出程序
选择菜单命令:0 再输入:y,确认,则退出程序。若输入:n则继续程序。
```
请选择0
@ -61,7 +61,7 @@
确定要退出吗?(Y/N): n
程序退出
```
### C1: 查找图书
### C1查找图书
选择菜单命令: 1 提示Find Book 和 Enter book ID: 字样若本身书籍库为空则提示Book data empty。继续输入图书编号。若没找到提示Not found;若找到提示Found 并 打印书籍信息。
```
请选择1
@ -92,7 +92,7 @@ Book
**** title: 《 2 》****
************** Number: 3 **************
```
### C2:借用图书
### C2借用图书
选择菜单命令2提示 Boorow Book若本身书籍库为空则提示Book data empty。提示 Which book you wanna boorow ?则继续输入图书编号。若该书本身不存在则提示NOT FOUND THIS BOOK如图书存在则提示OK。
```
请选择2
@ -123,7 +123,7 @@ Which book you wanna boorow ?
OK
*********
```
### C3:归还图书
### C3归还图书
选择菜单命令3提示归还图书 和 你想要归还哪一本书?输入图书编号,若在系统中没有该图书,则添加图书并输入图书的编号,数量和数目,显示相关信息并归还成功,否则直接退出。
`````
请选择3
@ -179,8 +179,12 @@ Book
Total: 1 books
```
### C5:添加图书
选择菜单命令5 提示添加图书提示输入想添加的图书编号标题和数目并输出Book输出添加完后图书的相关信息和“Added”。
### C5添加图书
选择菜单命令5 提示添加图书若图书库满提示Books full.提示输入想添加的图书编号标题和数目并输出Book输出添加完后图书的相关信息和“Added”。
```
请选择5
Books full
```
```
请选择5
@ -286,40 +290,24 @@ Step 2.9: if c == CMD_UPDATE then 修改书籍
Step 2.10: if c == CMD_SORT then 排序书籍
Step 2.11: if c == CMD_QUIT then 选择退出
```
![main](file:///C:/Users/yangt/Desktop/text1/Graph/Main.drawio.svg)
![main](Graph\Main.drawio.svg)
## DoAddBook
```
Step 1: if 数据库满 then 提示数据库满并结束
Step 1: if 图书库满 then 提示图书库满
Step 2: 输入图书编号
Step 3: 输入图书名和书籍数量
Step 3: 输入图书名
Step 4: 输入图书数量
Step 4: 添加新书籍
Step 5: 提示添加成功
```
![add](Graph\DoAddBook.drawio.svg)
## DoFindBook
```
```
Step 1: 提示添加书籍
Step 2: if 图书库空 then 提示库空
Step 3: 提示输入图书编号
Step 4: 输入图书编号
Step 5: if 找到图书 then 输出图书信息 并提示Found
Step 6: if 没找到 then 提示Not found
```
![find](Graph\DoFindBook.drawio.svg)

@ -84,6 +84,7 @@ bool bookempty()
// 添加图书
void DoAddBook()
{
if (books.length == 256) cout << "Books full" << endl;
cout << endl << "Add Book"<< endl<<endl;
Book book;
input(book); //输入图书

Loading…
Cancel
Save