Yao Zhen 2 years ago
commit 668250bbea

@ -8,7 +8,7 @@
本系统是程序设计与问题求解课程设计项目,实现了库存零件 CSV 格式数据文件的读取和保存以及数据的增删改查CRUD、排序和图表显示等功能。项目采用 C 语言编程实现,在 VS Code 集成开发环境IDE中用 GCC 进行编译。系统采用模块化设计,程序结构清晰,采用菜单驱动的命令行界面,操作便捷,能够用 CSV 格式读取和保存数据,通用性强,能够用图表展示数据,直观清楚。
下载地址https://bdgit.educoder.net/pzghsoly5/test.git
下载地址https://gitee.com/wangqian12345/students
项目开发过程中采用 Kanban看板进行任务管理和分工协作并使用 Git 对程序代码和文档进行版本管理。任务分工情况如下:
@ -29,7 +29,7 @@
| 姚震 | 金雨佳 | 宋岱瑾 | 费良荣 |
| ---- | ---- | ---- | ---- |
| 30| 20 | 30 | 20 |
| 25 | 25 | 25 | 25 |
## 关于图书管理系统
@ -325,7 +325,7 @@ a: No such file or directory
上述各模块通过主程序main进行调用系统模块图如下。
![main.drawio](images/main.drawio.svg)
![系统模块图](images/module.drawio.svg)
各模块的主要功能如下:
@ -375,46 +375,46 @@ Step 5: 关闭文件
#### add_data
Step 1: if 数据库满 then 提示数据库满并结束
Step 2: 输入学生编号
Step 3: if 学生已存在 then 提示学生已存在并结束
Step 4: 输入学生名和学生数量
Step 5: 添加新学生到数据
Step 2: 输入图书编号
Step 3: if 图书已存在 then 提示图书已存在并结束
Step 4: 输入图书名和图书数量
Step 5: 添加新图书到数据
Step 6: 提示添加成功
![添加库存记录流程图](images/add_data.drawio.svg)
### query_data
Step 1:提示输入学生学号,并输入学
Step 1:提示输入图书编号,并输入编
Step 2for i = 0 to num_parts开始查询
Step 3查询最后一个学生结束
Step 4if未查询到提示学生不存在
Step 5else打印学生信息
Step 3查询最后一个图书结束
Step 4if未查询到提示图书不存在
Step 5else打印图书信息
![查询流程图](images/query_data.drawio.svg)
### printf_data
Step 1:打印学生学号和学生姓
Step 1:打印图书编号和图书
Step 2for i = 1 to num_parts
Step 3:打印学生成绩
Step 3:打印借阅次数
![打印记录流程图](images/printf_data.drawio.svg)
#### update_data
Step 1输入学生学
Step 2查找学生是否已录入
Step 1输入图书编
Step 2查找图书是否已录入
Step 3if 不存在then 直接退出
Step 4else 输出学生信息
Step 4else 输出图书信息
![修改学生信息](images/update_data.drawio.svg)
#### delete_data
Step 1: 输入学生学
Step 2: 查找学生所在的位置
Step 3: if 没有该学生 then 则输出学生不存在
Step 4: 将查找到的学生后面的依次往前移动信息
Step 5: 将学生总数减一
Step 1: 输入图书编
Step 2: 查找图书所在的位置
Step 3: if 没有该图书then 则输出图书不存在
Step 4: 将查找到的图书后面的依次往前移动信息
Step 5: 将图书总数减一
Step 6: 提示删除成功
![打印记录流程图](images/delete_data.drawio.svg)
@ -422,9 +422,9 @@ Step 6: 提示删除成功
#### sort_data
Step 1: 进行冒泡排序
Step 2: 将按照学生成绩排序,若前面的比后面的大,则交换
Step 2: 将按图书借阅次数排序,若前面的比后面的大,则交换
Step 3: 每次遍历记录是否交换,若没有交换,则排序结束
Step 4: 若成绩相同,则按照学号从小到大排序
Step 4: 若借阅次数相同,则按照编号从小到大排序
![打印记录流程图](images/sort_data.drawio.svg)
@ -433,15 +433,15 @@ Step 1:输入文件名
Step 2查看输入的文件名是否和已有的文化相匹配
Step 3若匹配成功则打开文件
Step 4若不成功则返回错误值
Step 5打开后利用循环依次输出文件里各个学生的学号,姓名和成绩
Step 5打开后利用循环依次输出文件里各个图书信息
Step 6关闭文件
![读取流程图](images/read_data.drawio.svg)
![读取流程图](read_data.svg)
#### make_chart
Step 1打印表头
Step 2循环打印学生姓名和学
Step 2循环打印图书名和图书编
Step 3循环套循环打印图表
Step 4打印结束后换行继续循环
Step 5打印成功
![读取流程图](images/make_chart.drawio.svg)
![读取流程图](make_chart.svg)

@ -0,0 +1,447 @@
# 图书管理系统
2023年4月22日
姚震、金雨佳、宋岱瑾、费良荣
## 项目简介
本系统是程序设计与问题求解课程设计项目,实现了库存零件 CSV 格式数据文件的读取和保存以及数据的增删改查CRUD、排序和图表显示等功能。项目采用 C 语言编程实现,在 VS Code 集成开发环境IDE中用 GCC 进行编译。系统采用模块化设计,程序结构清晰,采用菜单驱动的命令行界面,操作便捷,能够用 CSV 格式读取和保存数据,通用性强,能够用图表展示数据,直观清楚。
下载地址https://gitee.com/wangqian12345/students
项目开发过程中采用 Kanban看板进行任务管理和分工协作并使用 Git 对程序代码和文档进行版本管理。任务分工情况如下:
| 任务 | 设计 | 开发 | 测试 | 文档 |
| ---- | ---- | ---- | ---- | ---- |
| C1-C3 菜单驱动的用户界面 | 宋岱瑾 | 宋岱瑾 | 金雨佳 | 宋岱瑾 |
| C4 添加图书记录 | 姚震 | 姚震 | 费良荣 | 姚震 |
| C5 查询图书记录 | 金雨佳 | 金雨佳 | 宋岱瑾 | 金雨佳 |
| C6 打印图书列表 | 金雨佳 | 金雨佳 | 姚震 | 金雨佳 |
| C7 修改图书记录 | 费良荣 | 费良荣 | 宋岱瑾 | 费良荣 |
| C8 删除图书记录 | 姚震 | 姚震 | 费良荣 | 姚震 |
| C9 图书记录排序 | 姚震 | 姚震 | 金雨佳 | 姚震 |
| C10 从文件中读取图书记录 | 费良荣 | 费良荣 | 宋岱瑾 | 费良荣 |
| C11 将图书保存到文件 | 宋岱瑾 | 宋岱瑾 | 费良荣 | 宋岱瑾 |
| C12 以图表方式显示图书记录 | 宋岱瑾 | 宋岱瑾 | 金雨佳. | 宋岱瑾 |
每个成员的工作量(百分比):
| 姚震 | 金雨佳 | 宋岱瑾 | 费良荣 |
| ---- | ---- | ---- | ---- |
| 25 | 25 | 25 | 25 |
## 关于图书管理系统
设计一个图书管理系统,要求采用命令行菜单界面进行交互,具备读取、保存、打印、查询、修改、插入、删除和排序等基本功能,能够以表格和图表形式展示数据,采用 CSV 格式保存数据。
系统的功能性需求:
- 数据的读取、保存、打印、查询、修改、插入、删除、排序和图表展示。
系统的非功能性需求:
- 菜单驱动的命令行交互界面。
## 需求分析
分析系统的功能需求和界面需求,编制用户手册如下。
#### C1: 启动程序
命令行中执行命令 `./app`,系统启动,显示提示信息,然后显示功能菜单,等待用户输入命令。
```
学生成绩管理系统启动
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择:
```
#### C2: 显示命令菜单
```
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择:
```
#### C3: 退出程序
选择菜单命令 `0`,再输入 `y` 确认,则退出程序。
```
请选择0
确定要退出吗?(Y/N): y
程序退出
```
#### C4: 添加记录
选择菜单命令 `5`,提示输入图书编号,若该图书不存在,则继续输入图书名、图书编号、图书借阅次数,并提示完成;若图书编号已存在,则提示学图书已存在,并结束。
```
请选择5
输入学生学号101
输入学生姓名:李
输入学生成绩80
学生 101 已添加
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择5
输入学生学号101
学生已存在.
```
#### C5: 查询图书记录
选择菜单命令 `4`,提示输入图书编号,若该图书存在,则输出图书信息;否则提示图书不存在并结束。
```
请选择4
输入学生学号101
学生学号101
学生姓名:李
学生成绩80
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择4
输入学生学号100
学生不存在.
```
#### C6: 打印图书列表
选择菜单命令 `3`,打印
```
请选择3
-------------------------------------------------------
| NUMBER | NAME | ON HAND |
-------------------------------------------------------
| 101 | 李 | 80 |
-------------------------------------------------------
```
#### C7: 修改图书记录
选择菜单命令 `6`,根据提示输入图书编号,若图书存在,则继续输入新的图书编号和图书,并修改图书记录;否则,提示图书不存在并结束。
```
请选择6
输入学生学号101
输入学生姓名:张
输入学生成绩90
学生 101 已更新
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择3
-------------------------------------------------------
| NUMBER | NAME | ON HAND |
-------------------------------------------------------
| 101 | 张 | 90 |
-------------------------------------------------------
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择6
输入学生学号100
学生不存在.
```
#### C8: 删除图书记录
选择菜单命令 `7`,根据提示输入图书编号,若图书存在,则删除之;否则提示图书不存在并结束。
```
请选择7
输入学生学号100
学生不存在.
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择7
输入学生学号101
学生 101 已删除
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择3
-------------------------------------------------------
| NUMBER | NAME | ON HAND |
-------------------------------------------------------
-------------------------------------------------------
```
#### C9: 图书记录排序
选择菜单命令 `8`,对库存记录按图书借阅次数由高到低排序,若次数相同,则按编号从小到大排序。
```
请选择3
-------------------------------------------------------
| NUMBER | NAME | ON HAND |
-------------------------------------------------------
| 101 | 李 | 80 |
| 100 | 张 | 90 |
-------------------------------------------------------
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择8
排序
排序已完成
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择3
-------------------------------------------------------
| NUMBER | NAME | ON HAND |
-------------------------------------------------------
| 100 | 张 | 90 |
| 101 | 李 | 80 |
-------------------------------------------------------
```
#### C10: 从文件中读取图书记录
选择菜单命令 `1`,提示输入文件名,若文件存在,则打开文件读取 CSV 格式保存的所有库存记录;否则,若文件不存在,则给出错误信息并结束。
假设文件 `a.csv` 中,以 CSV Comma-Separated Values格式保存了如下记录
```
103,张,80
104,李,88
101,王,90
102,樊,100
```
则读取记录的过程如下:
```
请选择1
读取数据
请输入文件名a.csv
读取 4 记录
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择3
-------------------------------------------------------
| NUMBER | NAME | ON HAND |
-------------------------------------------------------
| 103 | 张 | 80 |
| 104 | 李 | 88 |
| 101 | 王 | 90 |
| 102 | 樊 | 100 |
-------------------------------------------------------
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
请选择1
读取数据
请输入文件名a
a: No such file or directory
```
#### C11: 将图书保存保存到文件
选择菜单命令 `2`,提示输入文件名,将所有库存记录以 CSV 格式保存到指定的文件中。
```
请选择2
保存数据
请输入文件名b.csv
保存 4 记录
```
#### C12: 以图表方式显示图书记录
选择菜单命令 `9`,以图表方式显示库存记录。
```
请选择9
图表
103 : 张 | ******** (80)
104 : 李 | ************ (88)
101 : 王 | ******************** (90)
102 : 樊 | ********** (100)
1 读取 | 2 保存 | 3 打印 | 4 查询 | 5 添加
6 修改 | 7 删除 | 8 排序 | 9 图表 | 0 退出
```
## 概要设计
系统主要分为用户界面和数据处理两大模块。
用户界面模块包括系统初始化init显示菜单display_menu选择菜单命令make_choice、确认confirm、退出quit等子模块。
数据处理模块包括读取数据read_data、保存数据save_data、打印数据print_data、查询数据query_data、添加数据add_data、更新数据update_data、删除数据delete_data、数据排序sort_data和生成图表make_chart等子模块。其中查询、添加、更新和删除数据还会用到根据编号查询数据的方法find
上述各模块通过主程序main进行调用系统模块图如下。
![系统模块图](images/module.drawio.svg)
各模块的主要功能如下:
#### main
系统主函数模块,显示菜单,根据用户选择的菜单命令,执行相关操作。
#### init
系统初始化。
#### display_menu
显示菜单命令。
## 详细设计
针对概要设计
#### 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)
#### save_data
Step 1: 输入文件名
Step 2: 打开文件
Step 3: if 打开文件失败 then 提示打开文件失败并结束
Step 4: 将所有库存记录写入文件
Step 5: 关闭文件
![保存数据流程图](images/save_data.drawio.svg)
#### add_data
Step 1: if 数据库满 then 提示数据库满并结束
Step 2: 输入图书编号
Step 3: if 图书已存在 then 提示图书已存在并结束
Step 4: 输入图书名和图书数量
Step 5: 添加新图书到数据
Step 6: 提示添加成功
![添加库存记录流程图](images/add_data.drawio.svg)
### query_data
Step 1:提示输入图书编号,并输入编号
Step 2for i = 0 to num_parts开始查询
Step 3查询最后一个图书结束
Step 4if未查询到提示图书不存在
Step 5else打印图书信息
![查询流程图](images/query_data.drawio.svg)
### printf_data
Step 1:打印图书编号和图书名
Step 2for i = 1 to num_parts
Step 3:打印借阅次数
![打印记录流程图](images/printf_data.drawio.svg)
#### update_data
Step 1输入图书编号
Step 2查找图书是否已录入
Step 3if 不存在then 直接退出
Step 4else 输出图书信息
![修改学生信息](images/update_data.drawio.svg)
#### delete_data
Step 1: 输入图书编号
Step 2: 查找图书所在的位置
Step 3: if 没有该图书then 则输出图书不存在
Step 4: 将查找到的图书后面的依次往前移动信息
Step 5: 将图书总数减一
Step 6: 提示删除成功
![打印记录流程图](images/delete_data.drawio.svg)
#### sort_data
Step 1: 进行冒泡排序
Step 2: 将按图书借阅次数排序,若前面的比后面的大,则交换
Step 3: 每次遍历记录是否交换,若没有交换,则排序结束
Step 4: 若借阅次数相同,则按照编号从小到大排序
![打印记录流程图](images/sort_data.drawio.svg)
#### read_data
Step 1:输入文件名
Step 2查看输入的文件名是否和已有的文化相匹配
Step 3若匹配成功则打开文件
Step 4若不成功则返回错误值
Step 5打开后利用循环依次输出文件里各个图书信息
Step 6关闭文件
![读取流程图](read_data.svg)
#### make_chart
Step 1打印表头
Step 2循环打印图书名和图书编号
Step 3循环套循环打印图表
Step 4打印结束后换行继续循环
Step 5打印成功
![读取流程图](make_chart.svg)

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 13 KiB

@ -0,0 +1,111 @@
<mxfile host="65bd71144e">
<diagram id="5sBLNUMCJy76M6u4WCoL" name="Page-1">
<mxGraphModel dx="917" dy="664" 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="170" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="add_data" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="70" y="60" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="5" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="4" target="6" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="300" y="210" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="8" 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="290" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="数据库满?" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="170" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="25" 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="130" y="810" as="targetPoint"/>
<Array as="points">
<mxPoint x="470" y="210"/>
<mxPoint x="470" y="810"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="6" value="提示数据库满" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="280" y="180" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" 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="225" y="175" width="30" height="30" 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="135" y="255" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="10" target="12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="输入图书编号" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="290" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="13" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="280" y="430" as="targetPoint"/>
</mxGeometry>
</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="12" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="510" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" value="图书编号存在?" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="390" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="26" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="14" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="470" y="430" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" value="提示图书已存在" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="280" y="400" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="15" 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="225" y="405" width="30" height="30" 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;fontColor=#000000;" parent="1" vertex="1">
<mxGeometry x="135" y="475" width="30" height="30" 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" target="20" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="630" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="18" value="输入图书编号和数量" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="510" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="21" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="20" target="22" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="720" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" value="添加新图书到数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="610" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="23" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" parent="1" source="22" target="24" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="130" y="820" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="提示添加成功" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="55" y="710" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="24" value="" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" parent="1" vertex="1">
<mxGeometry x="70" y="820" width="120" height="80" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -0,0 +1,312 @@
<mxfile host="65bd71144e">
<diagram id="Ve7y_Xmv1_xOL1hUhJ5_" name="Page-1">
<mxGraphModel dx="917" dy="1764" 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;labelBackgroundColor=#FAFAFA;strokeColor=#000000;" edge="1" parent="1" source="2">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="180" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="2" value="init" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#000000;labelBackgroundColor=#FFFFFF;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="80" y="60" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="5" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="4" target="6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="280" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="显示菜单" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="180" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="6">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="370" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="6" value="选择菜单命令" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="280" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="7" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="7" value="main" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="-50" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="10">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="10" target="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="490" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="读取数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="370" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="14" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="15" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="600" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="13" value="保存数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="480" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="17" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="18" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="16">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="710" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="16" value="打印数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="600" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="20" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="19">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="750" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="19">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="830" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="19" value="查询数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="710" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="23" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="22">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="940" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="24" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="22">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="870" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="添加数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="830" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="26" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="25">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="980" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="27" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="25" target="28">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1050" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="25" value="更新数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="940" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="29" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="28">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1090" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="30" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="28" target="31">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1160" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="28" value="删除数据" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1050" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="32" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="31">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1200" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="33" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="31">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1270" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="31" value="对数据排序" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1160" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="35" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="34">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1310" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="45" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="34">
<mxGeometry relative="1" as="geometry">
<mxPoint x="310" y="1410" as="targetPoint"/>
<Array as="points">
<mxPoint x="140" y="1410"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="46" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="34">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1450" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="34" value="生成图表报表" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1270" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="68" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="36">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="36" value="read_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="69" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="37">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="37" value="save_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="490" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="70" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="38">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="38" value="print_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="610" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="71" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="39">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="750" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="39" value="query_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="720" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="72" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="40">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="870" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="40" value="add_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="840" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="73" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="41">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="980" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="41" value="update_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="950" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="74" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="42">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1090" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="42" value="delete_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1060" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="75" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="43">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1200" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="43" value="sort_data" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1170" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="76" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="44">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1310" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="44" value="make_chart" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1280" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="77" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="48">
<mxGeometry relative="1" as="geometry">
<mxPoint x="490" y="1410" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="48" value="命令错误,重新选择" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="310" y="1380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="50" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="49" target="51">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1560" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="66" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="49">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="160" as="targetPoint"/>
<Array as="points">
<mxPoint x="490" y="1490"/>
<mxPoint x="490" y="160"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="49" value="确定退出" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="1450" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="52" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;labelBackgroundColor=#FAFAFA;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="51" target="53">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="1640" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="51" value="quit" style="shape=process;whiteSpace=wrap;html=1;backgroundOutline=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="1560" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="53" value="" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="1640" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="54" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="385" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="55" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="495" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="56" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="605" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="57" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="725" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="58" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="850" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="59" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="955" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="60" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1065" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="61" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1175" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="62" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1285" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="63" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="245" y="1385" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="64" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="150" y="1370" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="65" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="145" y="1415" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="67" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="215" y="1455" width="30" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

@ -0,0 +1,76 @@
<mxfile host="65bd71144e">
<diagram id="gGfFuJy0CrLTynzOE54l" name="Page-1">
<mxGraphModel dx="917" dy="664" 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="4" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontColor=#000000;strokeColor=#000000;" edge="1" parent="1" source="3">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="470" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="3" value="save_data" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="350" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="6" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="5" target="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="580" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="5" value="输入文件名" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="470" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="690" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="14" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="7">
<mxGeometry relative="1" as="geometry">
<mxPoint x="300" y="620" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="7" value="打开文件" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="580" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="10" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="9">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="800" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="9" value="将所有库存记录写入文件" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="690" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="11" target="13">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="910" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="11" value="关闭文件" style="rhombus;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="65" y="800" width="150" height="80" as="geometry"/>
</mxCell>
<mxCell id="13" value="" style="ellipse;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="80" y="900" width="120" height="80" as="geometry"/>
</mxCell>
<mxCell id="18" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;strokeColor=#000000;fontColor=#000000;" edge="1" parent="1" source="15">
<mxGeometry relative="1" as="geometry">
<mxPoint x="140" y="890" as="targetPoint"/>
<Array as="points">
<mxPoint x="460" y="620"/>
<mxPoint x="460" y="890"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="15" value="提示打开文件失败" style="rounded=0;whiteSpace=wrap;html=1;labelBackgroundColor=#FFFFFF;strokeColor=#000000;fontColor=#000000;fillColor=#FFFFFF;" vertex="1" parent="1">
<mxGeometry x="300" y="590" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="16" value="N" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="235" y="595" width="30" height="30" as="geometry"/>
</mxCell>
<mxCell id="17" value="Y" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontColor=#000000;" vertex="1" parent="1">
<mxGeometry x="150" y="660" width="30" height="30" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

Loading…
Cancel
Save