...

/

Sequence Diagram for LinkedIn

Sequence Diagram for LinkedIn

Visualize the sequence diagram to send a connection invitation on LinkedIn.

We'll cover the following...

Sequence diagrams are a great way to understand the interactions between different entities and objects in the system. There can be different sequence diagrams that we can create for LinkedIn. In this lesson, we’ll create sequence diagrams for the following interaction:

  • Send a connection invitation: A user sends a connection invitation to another user.

Send a connection invitation

The sequence diagram for sending a connection invitation should have the following actors and objects that will interact with each other:

  • Actors: UserA and UserB

  • Objects: Search, Notification, and ConnectionInvitation.

Here are the steps for the send a connection invitation interaction:

  1. User A searches for User B using the search service.

  2. If User B is found:

    1. The search service returns User B.

    2. A notification is sent to User B indicating they appeared in a search.

    3. User A creates a new connection invitation object for User B.

    4. The connection invitation is sent from User A to User B.

    5. A notification is sent to User B informing them of the connection request.

Based on the order above, the sequence diagram for sending a connection invitation on LinkedIn is given below: