Search code examples
modelinguml

How to show event in a sequence diagram


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?

thanks


Solution

  • 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.

    Introduces how this would typically be documented

    I would probably use a collaboration digram to do it.

    If you insist on Sequence Diagrams figure 2 should help