0% found this document useful (0 votes)
268 views3 pages

State Chart Diagram

Uploaded by

abhayp9839
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
268 views3 pages

State Chart Diagram

Uploaded by

abhayp9839
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

STATE CHART DIAGRAM

Here's an example of a state chart diagram representing the states and transitions in a login module
system:

```

+----------------------------+

| Login Module System |

+----------------------------+

| User Provides Credentials

+----------------------------+

| Idle State |

+----------------------------+

| Validate Credentials

+----------------------------+

| Credentials Valid State |

+----------------------------+

| User Authentication

+----------------------------+

| Authenticated State |

+----------------------------+

| User Performs Actions

|
STATE CHART DIAGRAM
V

+----------------------------+

| Active State |

+----------------------------+

| User Logs Out

+----------------------------+

| Logged Out State |

+----------------------------+

```

In this state chart diagram, the login module system goes through various states and transitions
during the login and logout process:

1. Idle State: Represents the initial state of the login module system. It is waiting for the user to
provide their credentials.

2. Credentials Valid State: Represents the state when the user-provided credentials are validated
and found to be valid.

3. Authenticated State: Represents the state when the user is successfully authenticated. They are
granted access to the system.

4. Active State: Represents the state when the user is logged in and actively using the system. They
can perform various actions and operations.

5. Logged Out State: Represents the state when the user logs out of the system. They are no longer
authenticated or active.

The transitions between states occur as follows:

- User Provides Credentials: Transition from the Idle State to the Credentials Valid State when the
user provides their login credentials.

- Validate Credentials: Transition from the Credentials Valid State to the Authenticated State when
the provided credentials are validated and found to be valid.
STATE CHART DIAGRAM
- User Authentication: Transition from the Authenticated State to the Active State when the user is
successfully authenticated.

- User Performs Actions: Transition from the Active State to itself when the user performs various
actions within the system.

- User Logs Out: Transition from the Active State to the Logged Out State when the user chooses to
log out of the system.

You might also like