简体   繁体   English

UML交互图的替代方案

[英]Alternatives to UML interaction diagrams

Any good alternatives to UML interaction diagrams? UML交互图的任何好的替代品? They are nice, but I do not care that much about the order and I want to represent a lot of components on the screen. 它们很好,但我对订单并不在乎,我想在屏幕上代表很多组件。

If you don't care about the order, I would suggest the possibility of using a UML Class Diagram. 如果您不关心订单,我建议使用UML类图的可能性。 As this will present the classes/components of your project with the inheritance, relations and functionality of the classes, it doesn't give the order of events inside the system. 由于这将使用类的继承,关系和功能来呈现项目的类/组件,因此它不会给出系统内事件的顺序。

Here is an example for a Class Diagram: 以下是类图的示例:

在此输入图像描述

A second possibility is going out from the UML world, and maybe using a mockup software to design the screen's actual look and components location. 第二种可能性是从UML世界出来,也许使用模型软件来设计屏幕的实际外观和组件位置。 If that's what you need, Here is an example for a tool . 如果这是你需要的, 这是一个工具的例子

If you want to model objects but not the interaction between them an Object Diagram may be suited. 如果要对对象进行建模而不是它们之间的交互,则可能需要使用对象图。 You can even combine them with Class Diagrams. 您甚至可以将它们与类图组合在一起。 Classes alone are not suited to represent instance level structures. 单独的类不适合表示实例级结构。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM