-1

Should the classes always have connectivity in UML? For example, in the following diagram, class Zugriff is not connected to any other classes. It that a valid or correct class diagram in UML? enter image description here

Devs love ZenUML
  • 11,344
  • 8
  • 53
  • 67

1 Answers1

2

Yes. You SHOULD but not MUST.

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)

These classes and interfaces should have a type of relationship so that it makes sense to put them together. A typical relationship is a generic (weak) use.

Devs love ZenUML
  • 11,344
  • 8
  • 53
  • 67