startsuml活动图小型书店活动图
时间: 2023-12-23 13:27:26 浏览: 43
活动图是一种用于描述系统行为的图形化工具。它展示了系统中的各个活动以及它们之间的关系和顺序。下面是一个小型书店的活动图示例:
```plantuml
@startuml
|顾客|
start
:选择图书;
:查找图书;
if (图书是否存在?) then (是)
:添加图书到购物车;
else (否)
:提示图书不存在;
endif
:继续购物或结算;
if (选择结算?) then (是)
:填写收货信息;
:选择支付方式;
if (支付成功?) then (是)
:生成订单;
:发送订单确认邮件;
else (否)
:提示支付失败;
endif
else (否)
:继续购物;
endif
stop
@enduml
```
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)