根据以下内容@startuml |用户| start :下单; |系统| if (订单信息正确?) then (是) :生成订单; |仓库| if (有库存?) then (是) :分配库存; |快递员| if (接单?) then (是) :派送; else (否) :取消订单; endif else (否) :取消订单; endif else (否) :提示用户订单信息错误; stop endif |用户| :签收; stop @enduml帮我绘制一份菜鸟驿站系统中派送模块的系统用例图,用plantuml语言规范表示
时间: 2024-03-31 11:38:52 浏览: 82
基于UML的钢铁企业APS订单计划系统建模
好的,这是绘制菜鸟驿站系统中派送模块的系统用例图的 PlantUML 代码:
```
@startuml
left to right direction
skinparam packageStyle rectangle
actor "用户" as user
rectangle "菜鸟驿站系统" {
usecase "下单" as place_order
usecase "生成订单" as create_order
usecase "分配库存" as allocate_inventory
usecase "派送" as dispatch
usecase "取消订单" as cancel_order
usecase "提示用户订单信息错误" as prompt_error
usecase "签收" as sign
user --> place_order
place_order --> create_order
create_order --> allocate_inventory
allocate_inventory --> dispatch
dispatch --> sign
create_order --> cancel_order
place_order --> prompt_error
prompt_error --> cancel_order
}
@enduml
```
用例图如下所示:
![菜鸟驿站系统中派送模块的系统用例图](https://img-blog.csdnimg.cn/20210706161632605.png)
阅读全文