如何在时序图中显示事件 [英] How to show event in a sequence diagram

查看:324
本文介绍了如何在时序图中显示事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想画一个序列图,我想展示用户和UI之间的交互.用户作为演员将填充一个文本框,并在text_change事件上调用BL类的异步方法.在这种情况下,可以在图上显示text_change事件吗?以及如何显示?

I want to draw a sequence diagram and I want to show interaction between user and UI. User as an actor would fill a text box and on text_change event an asynchronous method of BL class would call. In this case is it possible to show text_change event on the diagram? and how can I show it?

谢谢

推荐答案

您想做的事情是可能的,但并不常见.通常,这些交互将由现有的系统/平台提供,因此没有必要将其包括在应用程序设计中.

What you want to do is possible but unusual. Typically these interactions would be provided by the existing system/platform and it would therefore not be necessary to include it in the application design.

介绍了通常如何对其进行记录

我可能会使用协作图来实现.

如果您坚持使用序列图,图2应该会有所帮助

这篇关于如何在时序图中显示事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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