Should user interfaces be included in the class diagram and sequence diagram?

前端 未结 3 1084
终归单人心
终归单人心 2021-01-02 12:05

I have a project and I\'m required to produce the class and sequence diagram. It is a procurement website. My only problem is that I don\'t know how to associate the web pag

3条回答
  •  再見小時候
    2021-01-02 12:40

    Classes of UI can be modeled as ordinary UML classes. You can create stereotype "webpage" if you want of course. If it is needed to define internal structure of UI class use composition. In sequence diagram you can define interaction between instances of UI classes in common way.

    Example: enter image description here

提交回复
热议问题