Explain the types of diagrams in UML.We have nine types of diagram in UML.
Use Case Diagram Use Case Diagram describes “HOW” the system works. It identifies the primary elements and processes that form the system. It shows “actors” and their “roles”
Class Diagram This diagram explores detail design of the system. The class diagram is designed using Use Case diagram. We can identify all “Nouns” in use cases as classes and “verbs” as method of the classes.
Object diagram This diagram represents the state of classes in the system and their relationships or associations at a specific point of time.
State Diagram This diagram represents different states that objects in the system undergo during their life cycle.
Sequence diagram This diagram is used to explore logic of complex operations, function or procedure. In this diagram, sequence of the interactions between the objects is represented step by step.
Collaboration diagram This diagram groups together the interaction between different objects.
Activity diagram Activity diagram gives detail view of the business logic.
Deployment diagram It shows deployment view of the system. It shows how hardware and software works together to run system.
|