What are activity diagrams?
An activity diagram is a model of an activity. Models are an illustration of reality and are used to present facts clearly. In computer science models are used as preparation for all projects. These are like the drawings of an architect before a bridge or house is built.
Different display types:
To meet different model requirements, there are a large number of different types of diagrams that show a model of different aspekts of a project. The pictures below shows different diagram types. Today we will only take a closer look at the diagram type called activity diagrams.
Activity diagram:
An activity diagram shows the general processes. It indicates a series of activities that lead from a starting point to a finishing point. Here in an example og the game "Ludo". As the example shows, a branching can occur when different situations or outcomes require different responses or actions. For example, there is the possibility that the field you want to go to is occupied. If so, another action will be performed.
Ludo
Cooking dinner
Other types of diagrams
Here you can see some of the other diagram types. Their focus is not on the actions that need to be taken, but describes other important aspects.