Can UML state machine diagram be used to show the

2019-01-25 00:53发布

Can UML state machine diagram be used to show the screen navigation?

3条回答
疯言疯语
2楼-- · 2019-01-25 01:38

Sure you can create a UML model of the UI as a state machine, for example:

  • Screens are states

  • State transitions i.e. screen changes occur on specific inputs or other triggers

Did you actually have some more specific question?

查看更多
混吃等死
3楼-- · 2019-01-25 01:39

You can use state machines but it is also possible to use sequence diagrams for that. If you don't need to stick to the pure UML, there are plenty of approaches devoted to the specification of web systems that include the concept of web navigation models (with elements as pages, links,...). These approaches either use UML profiles or a completely different modeling language (as WebML)

查看更多
干净又极端
4楼-- · 2019-01-25 01:47

UML is for modeling processes for an Object Oriented paradigm. State Machine actually deals with an object's state and has got nothing to do with UI navigation.

Your best bet here might be to represent that in Use-Case diagram.

查看更多
登录 后发表回答