Activity Diagram: An activity diagram is like a flowchart that helps visualize the actions or activities performed by a system. It is often used in software engineering to illustrate the flow of activities within a process.
Special States in an Activity Diagram: There are two special states in an activity diagram:
- Initial State (Start Point):
- Symbol: A small filled circle followed by an arrow.
- Meaning: It represents where the activity or process begins.
- Example: Think of it as the starting point of a journey. For a library system, the initial state might be “User logs in.”
- Final State (End Point):
- Symbol: An arrow pointing to a filled circle nested inside another circle.
- Meaning: It represents the end or completion of the activity or process.
- Example: In the library system example, the final state might be “Book successfully checked out.