当一个参与者可以改变另一个参与者的用例时,如何绘制用例图? [英] How to draw a use case diagram when an actor can change the other actor's use cases?

查看:31
本文介绍了当一个参与者可以改变另一个参与者的用例时,如何绘制用例图?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以一个社交群组系统为例;

Let's take a social group system as example;

  • 演员是管理员和版主.

  • 用例:

    (删除帖子)
    /
    版主---(报告帖子)
    admin ---(管理角色)

  • Actors are the Admin and the Moderator.

  • Use Cases :

    ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ (Delete posts)
    ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎‏‏‎ /
    ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ moderator --- (Report Post)
    ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏⬆️
    ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ ‏‏‎ Admin --- (Manage roles)

管理员可以更改版主的帖子,例如管理员可以禁用某些版主的报告帖子.

Moderator's posts can be changed by admin, for example the admin can disable report posts for some moderators.

问题是:如何模拟这种情况的用例图?

The question is : How to simulate the use case diagram for this situation ?

推荐答案

没什么特别的,在很多情况下,UC 的执行会对系统产生影响……这就是这些 UC 的目标.

There is nothing special to do, in a lot of cases the execution of an UC has impact on the system ... and this is the goal of these UCs.

所以图表中没有什么特别之处,但在文字描述中你可以说报告是由版主等撰写的

So nothing special in the diagram, but in the textual description you can say the report was written by the moderator etc

这篇关于当一个参与者可以改变另一个参与者的用例时,如何绘制用例图?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆