类 是否应该在 UML 中始终具有连通性?
Shoud the classes have always have a connectivity in UML?
classes 是否应该在 UML 中始终具有连通性?例如,在下图中,class Zugriff
未连接到任何其他 class。它是 UML 中有效或正确的 class 图吗?
是的。你应该但不是必须。
Class diagram is UML structure diagram which shows the structure of the designed system at the level of classes and interfaces, shows their features, constraints, and relationships - associations, generalizations, dependencies, etc.
(from https://www.uml-diagrams.org/class-diagrams-overview.html)
这些 类 和接口应该有一种关系,以便将它们放在一起是有意义的。典型的关系是通用的(弱)use
.
classes 是否应该在 UML 中始终具有连通性?例如,在下图中,class Zugriff
未连接到任何其他 class。它是 UML 中有效或正确的 class 图吗?
是的。你应该但不是必须。
Class diagram is UML structure diagram which shows the structure of the designed system at the level of classes and interfaces, shows their features, constraints, and relationships - associations, generalizations, dependencies, etc. (from https://www.uml-diagrams.org/class-diagrams-overview.html)
这些 类 和接口应该有一种关系,以便将它们放在一起是有意义的。典型的关系是通用的(弱)use
.