开发者

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

Can UML开发者_开发百科 state machine diagram be used to show the screen navigation?


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?


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)


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜