Activity Diagram for Facebook
Create some activity diagrams for the Facebook problem.
We'll cover the following
Activity diagrams are a great way to visualize the flow of messages from one activity to the other in the system. There can be different activity diagrams that we can create for Facebook. In this lesson, we will create activity diagrams for the following two activities:
Creating a new post
Activity challenge: A user joins a group.
Creating a new post
The states and actions that will be involved in this activity diagram are provided below.
States
Initial state: The user selects the new post option.
Final state: The post is published.
Actions
The user selects the new post option, selects the privacy option, adds any attachments, and publishes the post.
Level up your interview prep. Join Educative to access 70+ hands-on prep courses.