Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.16 KB

File metadata and controls

40 lines (34 loc) · 1.16 KB

Tutorial

This tutorial is from the "Zentrums für digitale Barrierefreiheit und Assistive Technologien (ACCESS@KIT)"(Center for Digital Accessibility and Assistive Technologies (ACCESS@KIT))

  1. Class Diagram: Basic declaration of classes and OOP. See also further examples: classes

  2. Use Case Diagram

  3. Activity Diagram

    • Show sequences of actions or decisions.
      
    • Include start and end points.
    • Use decision nodes, branches, loops, and concurrent activities.
    • Often used in business modeling, software design, and requirements analysis. Example:
@startuml
start
: Ticketpreis einlesen;
: Rabatt deklarieren;
if (Schwerbehinderung?) then (yes)
    : Rabatt = Behinderungsgrad;
elseif (Alter < 18) then (yes)
    : Rabatt = 35;
elseif (Student / Freiwilligendienst?) then (yes)
    : Rabatt = 25;
elseif (Rentner?) then (yes)
    : Rabatt = 15;
else (nein)
    : return Ticketpreis;
endif
: return (Ticketpreis / 100) * Rabatt;
end
@enduml
  1. Sequence Diagram
  2. Complex Sequence Diagram