Please enable JavaScript.
Coggle requires JavaScript to display documents.
Software Engineering (Class Diagrams (Classes (Boxes) (Name of class. Eg.…
Software Engineering
Class Diagrams
-
Associatons (Lines)
-
Point arrow - The direction states that you can access the data of the class, from the original class.
-
-
N-ary Associations (Diamond shape) - Joins together 2+ associations, where each party relates to the other with cardinalities. The diamond in the middle describes the name of the relationship.
Composition (Diamond arrowhead) - Relates classes that are composed of others. Eg. Marks are a composition of Student. This means that if the Student is deleted, the Marks are also.
Relationships (Open arrowhead) - Hierarchy with arrow pointing to the parent. Eg. Legend Zombie points to Zombie.
Aggregation (Open diamond arrowhead) - Similar to composition, except where if specific functions are applied to the master, then they are applied to the components. Eg. Printing a Book, prints the Pages also.
Dependency (Dotted line w/ point arrow) - No association, but for example class A uses methods from class B. Class B might be static.
-
-
State Machine Diagrams
-
-
-
-
-
Eg. trigger1, trigger2,...[guard] / activity
-
-
-
Use Cases
Extensions - Elaborates on any of the steps in the MSC, with every possible outcome from that step, apart from the intended one. Eg. 2) Invalid username. Resume 1. 2) Timeout. Fail.
Main Success Criteria - The steps needed to reach the goal. Eg. 1) System asks for username. 2) User enters username
-
-
-
-
Sequence Diagrams
-
Object - Individual objects are in their own column, with an arrow pointing to their column from the object they were created in. The box contains data, Eg. "name:Class"
Each object (inc main) is described vertically, with a dotted line (lifeline) describing nothing, and a thin box to describe when the object is being executed in some way.
Interactions between objects are described via an arrow, which has a dotted arrow when data is returned. Recursive statements are allowed. The name of the method is attached to the arrow, Eg. "Read"
Combined Fragments - These are boxes around whole classes and/or methods, which conditions. alt is a if statement block, with the conditions in the top left of each part. opt is an if without an else, same as alt. loop = loop. par = parallelism, so concurrency.