2. User-Authentication-Service / 1
List of System (Functionality list)
Functionality / System Name | Brief detail of the System | Business Priority | Approval Status | Progress Status | Use case Names | Allowed Actors |
---|---|---|---|---|---|---|
The functionality covers three tasks 1.New user looking at all the available courses 2.Registering user to get notifications etc. 3. Join a course by making payment | 1 | Y | Use Case Diagram to be initiated | 1.View-Courses 2. Register-User 3. Join-a-Course | 1. New-User 2. Registered-User 3. Employee-Cashier 4. User-Authentication-Service 5. Bank-Payment-Service | |
2 | N | Functional Detail sent for approval | ||||
2 | N | Functional Documentation in progress |
The current section explains the step-by-step approach to drawing a Use Case diagram. Refer to the ‘Document Sample’ and select the ‘System’ with the status – Approved i.e. ‘Online Training Registration. Change the status to Use Case Diagram ‘started’ to facilitate progress tracking of each System.
Understand the system by referring to the brief and scope of the System detailed in the ‘List of System’ section of the document.
Draw the use case in the scope of the system by referring to the column ‘Use Case names’ in the ‘List of System’ section and name the use cases as mentioned in the ‘List of Use Cases‘ section of the document.
Add the Include and extension use cases for the in-scope use cases by referring to the ‘List of Use Cases‘ section of the document. ‘Join-a-Course’ includes two Use cases–‘Course-payment’ and ‘View-Courses’. Establish the association with a dash-line starting from the base use case with an arrow pointing to the included two use cases.
Depict ‘Register-User’ with its two extension points with ‘Register-help’ and ‘Location-Search-help’ and associate it with a dashed line and an arrow pointing to ‘Register-User’.
The Note feature can be added as shown in the diagram to give details.
Establish the link between the actors and the Use cases. The column ‘Allowed Actors/Multiplicity number of Actor’ in the ‘List of Use Cases‘ section of the document gives all the actors to Use case association.
There can be some actor that is allowed by the Use case but they do not have any role in the current system being depicted. Like the actor ‘Instructor’ that can access use case ‘View-Courses’ but does not have a role in the current system being depicted.
This completes the ‘Online Training Registration’ system depiction.
Example 1: This diagram represents a system named Student Management System that has five functionalities in scope.
There are two user roles, i.e. Actor who have access to the system. Actors, Teachers, and students have access to functionalities to check timetables, check grades, and check attendance. The access to functionalities update attendance and update grades are only for actor Teachers.
[image source ]
Example 2: This diagram represents Online Shopping System that has three independent functionalities in scope. Complete checkout and view items are two included functionality of Make purchase.
The primary actor is the Customer and there are four supporting actors which are services like identity providers, service authentication, and external applications like PayPal, Credit payment services.
Example 3: This diagram represents a system Website that has 7 functionalities in scope. There are two Actors Webmaster and the Site user. The Search Doc functionality has two included functionalities Preview doc and Download doc.
The Preview doc includes Browse doc functionality. There are two extension points one for each use case Upload doc and Add user.
Q #1) What is the difference between a use case diagram and a use case?
Answer: Use case diagram depicts an application/system, its users, and use cases in the scope of the system. A use case represents one specific task to achieve a goal by a user that is in the scope of the system.
Q #2) What information is contained in a use case diagram?
Answer: This diagram summarizes the tasks in the scope of the system by detailing the tasks (use cases) and their users (actors). The details are presented pictorially, giving interactions between all the components presented.
Q #3) What is an example of a use case?
Answer: A use case describes the functionality of a process. Some example of business use case is system login, placing an online order, making payment, etc.
Q #4) What is included in the use case diagram?
Answer: It mainly consists of a system boundary with use cases, actors, and their relationships.
Q #5) Name a few UML diagram tools.
Answer: Some popular UML tools are – Lucid chart, EdrawMax , Moqups, Visual Paradigm, Sketchboard, Gliffy, Creately, SmartDraw.
The UML Use Case diagrams capture the dynamic nature of the system. They present all the users of the system and all the functionalities supported by the system. The functional requirements from the perspective of all internal and external users is captured and represented.
The first component of the Use Case diagram is the system scope called the system boundary or the subject. All the tasks covered under the system’s subject are the use cases. The roles and services that have access to the functionalities considered under the specific system are called actors. The diagram depicts the relationship between use cases and actors.
Also, Read =>> What is Use Case Testing
Thi diagram presents the functional requirement in an easy-to-understand way and helps in communication, and clarity and facilitates tracking the development too.
Home » UML » A Comprehensive Guide to Use Case Modeling
This is a technique used in software development and systems engineering to describe the functional requirements of a system. It focuses on understanding and documenting how a system is supposed to work from the perspective of the end users. In essence, it helps answer the question: “What should the system do to meet the needs and goals of its users?”
Functional Requirements : Functional requirements are the features, actions, and behaviors a system must have to fulfill its intended purpose. Use case modeling is primarily concerned with defining and capturing these requirements in a structured manner.
End User’s Perspective : Use case modeling starts by looking at the system from the viewpoint of the people or entities (referred to as “actors”) who will interact with the system. It’s essential to understand how these actors will use the system to achieve their objectives or perform their tasks.
Interactions : Use case modeling emphasizes capturing the interactions between these end users (actors) and the system. It’s not just about what the system does in isolation; it’s about how it responds to user actions or requests.
What is a Use Case Diagram?
A use case diagram is a graphical representation used in use case modeling to visualize and communicate these interactions and relationships. In a use case diagram, you’ll typically see actors represented as stick figures, and the use cases (specific functionalities or features) as ovals or rectangles. Lines and arrows connect the actors to the use cases, showing how they interact.
Problem description: university library system.
The University Library System is facing a range of operational challenges that impact its efficiency and the quality of service it provides to students, faculty, and staff. These challenges include:
These challenges collectively contribute to a suboptimal library experience for both library staff and users. Addressing these issues and modernizing the University Library System is essential to provide efficient services, enhance user satisfaction, and improve the overall academic experience within the university community.
Here’s a list of candidate use cases for the University Library System based on the problem description provided:
These candidate use cases cover a wide range of functionalities that address the issues identified in the problem description. They serve as a foundation for further analysis, design, and development of the University Library System to enhance its efficiency and user satisfaction. The specific use cases to prioritize and implement will depend on the system’s requirements and stakeholders’ needs.
Use Case Template:
Here’s the use case template and example for borrowing a book from a university library in tabular format:
Borrow a Book | |
---|---|
UC001 | |
Student | |
Librarian, Book Inventory System | |
– The student has a valid library card. | |
– The book is available in the library’s inventory. | |
– The book is marked as checked out in the system. | |
– The student has the book in their possession. | |
1. The student wants to borrow a | |
book from the university library. | |
2. | |
– The student presents their library card to | |
the librarian. | |
– The librarian scans the library card to | |
verify its validity. | |
– The student provides the title or ISBN of the | |
book they wish to borrow. | |
– The librarian searches the library catalog | |
for the book. | |
– The librarian confirms the book’s availability. | |
– The librarian checks out the book to the | |
student. | |
– The student takes the book and leaves the | |
library. | |
3. | |
– The system validates the library card. | |
– The system updates the book’s status to | |
“checked out.” | |
– The system records the due date for the book | |
loan. | |
– The system generates a receipt for the | |
transaction. | |
4. | |
– If the student’s library card is invalid, the | |
librarian informs the student, and the use | |
case terminates. | |
– If the requested book is not available, the | |
librarian informs the student, and the use | |
case terminates. | |
– If the student has overdue books, a notification | |
is sent to the student. | |
– If the student wants to renew the book, they can | |
request a renewal through the library website. | |
– The system should have a secure database of | |
library cardholders. | |
– Due dates and late fees should be calculated and | |
enforced by the system. |
Example Use Case: Borrowing a Book from University Library
These tables above presents the use case template and example in a structured and organized way, making it easier to read and understand the key elements of the use case.
Use Case Granularity Definition : Use case granularity refers to the degree of detail and organization within use case specifications. It essentially describes how finely you break down the functionality of a system when documenting use cases. In simpler terms, it’s about how much or how little you decompose a use case into smaller parts or steps.
Importance of Use Case Granularity :
Example : Let’s illustrate use case granularity with an example related to a “User Registration” functionality in an e-commerce application:
The appropriate level of granularity depends on project requirements and the specific needs of stakeholders. Finding the right balance is essential to ensure that use cases are understandable, manageable, and effective in conveying system functionality to all involved parties.
In his book ‘Writing Effective Use Cases,’ Alastair Cockburn provides a simple analogy to help us visualize various levels of goal attainment. He suggests thinking about these levels using the analogy of the sea
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Relationship, system boundary, benefits of use case diagram.
Use case diagram examples, use case diagram tutorial.
A use case describes how a user uses a system to accomplish a particular goal. A use case diagram consists of the system, the related use cases and actors and relates these to each other to visualize: what is being described? ( system ), who is using the system? ( actors ) and what do the actors want to achieve? ( use cases ), thus, use cases help ensure that the correct system is developed by capturing the requirements from the user's point of view.
A use case is a list of actions or event steps typically defining the interactions between a role of an actor and a system to achieve a goal. A use case is a useful technique for identifying, clarifying, and organizing system requirements. A use case is made up of a set of possible sequences of interactions between systems and users that defines the features to be implemented and the resolution of any errors that may be encountered.
While a use case itself might drill into a lot of detail (such as, flow of events and scenarios) about every possibility, a use-case diagram can help provide a higher-level view of the system, providing the simplified and graphical representation of what the system must actually do.
A use case (or set of use cases) has these characteristics:
Finding an online Use Case Diagram tool? Just click the Draw button below to create your Use Case Diagram online. Visual Paradigm Online is free * and intuitive. You can also go through this Use Case Diagram tutorial to learn about Use Case Diagram before you get started.
Use cases define interactions between external actors and the system to attain particular goals. A use case diagram contains four main components
Actors are usually individuals involved with the system defined according to their roles. The actor can be a human or other external system.
A use case describes how actors uses a system to accomplish a particular goal. Use cases are typically initiated by a user to fulfill goals describing the activities and variants involved in attaining the goal.
The relationships between and among the actors and the use cases.
The system boundary defines the system of interest in relation to the world around it.
A Use Case model can be developed by following the steps below.
Note that: to make use case approach more "Agile", do not detail all use cases, but prioritize them in your product backlog, you should refine the use case in different level of details according to the development phase with just-in-time and just-enough manner.
You can also:
UML defines three stereotypes of association between Use Cases:
The time to use the <<include>> relationship is after you have completed the first cut description of all your main Use Cases. You can now look at the Use Cases and identify common sequences of user-system interaction.
An extending use case is, effectively, an alternate course of the base use case. The <<extend>> use case accomplishes this by conceptually inserting additional action sequences into the base use-case sequence.
The general use case is abstract. It can not be instantiated, as it contains incomplete information. The title of an abstract use case is shown in italics.
This example depicts a model of several business use cases (goals) which represents the interactions between a restaurant (the business system) and its primary actors.
After the base use cases have been identified in the first cut, perhaps we could further structuring those use case with <<extend>> and <<include>> use cases in the second round touch up as shown in the Figure below:
A business use case is described in technology-free terminology which treats the business process as a black box and describes the business process that is used by its business actors, while an ordinary use case is normally described at the system functionality level and specifies the function or the service that the system provides for the user. In other words, business use case represents how the work to be done manually in the currently situation and it is not necessarily done by the system or intend to be automated in the scope of target system.
The figure below shows an ATM use case diagram example, which is quite a classic example to use in teaching use case diagram.
The Document Management System (DMS) use case diagram example below shows the actors and use cases of the system. In particular, there are include and extend relationships among use cases.
The Order System use case diagram example below shows the actors and use cases involved in the system:
You've learned what a Use Case Diagram is and how to draw a Use Case Diagram step-by-step. It's time to get your hands dirty by drawing a Use Case Diagram of your own. Draw UML diagrams free * with Visual Paradigm Online. It's easy-to-use, intuitive.
* The Free edition supports free usage of Visual Paradigm Online for non-commercial use only.
©2024 by Visual Paradigm. All rights reserved.
A Use case diagram is part of the Unified modeling language, and is used by developers to see the interaction between the end users of their program and their system. To put more simply, we can say that this type of diagram is the blueprint of the entire interaction between the user and a specific system. There are many elements involved when making this diagram, and that is what we will talk about in the succeeding parts of this post.
What is use case diagram.
First of all, let’s get to know what a UML use case diagram is really all about. As mentioned above, the goal of this diagram is to visualize the process of interaction between users and a system. It can change depending on the use case per individual, and provides valuable information to the developers. Using this diagram, they can see if the system is working a it should, or if it needs additional improvements. Additionally, use case diagrams are proven to be effective in explaining complex situations to stakeholders, who don’t have any technical background in software development.
A good diagram is one that doesn’t lack any symbols which can lead to inaccurate data. That is why it is important to familiarize oneself with the different symbols that commonly appear in a specialized diagram like this one. That is why we listed the most common use case diagram symbols that you will encounter when reading one.
Using a template is one of the easiest way to execute a UML Use case diagram. This is because it doesn’t involve the actual creation process, and only requires you to fill in the necessary information. On that note, here are some templates that you can immediately use with read-made topics just in case you need them.
Library Management System
The template above shows the framework between the user and the entire library system. It clearly shows the process and results of each use case just as it should happen in real-life.
Hospital Management System
This template uses the Use case diagram symbols to show the hospital management system. The diagram illustrates how the receptionist interacts with various cases and what the succeeding actions should be.
Online Shopping System
If you are an avid online shopper, then you are aware of the things that you need to do to order something online. This diagram shows exactly what happens when you place an order online, and the process the system follows for you to get your order delivered to your doorstep.
Software Engineering System
Lastly, we have a slightly complicated diagram since it involves software engineering. There are many variables in software engineering and this is where the use of use case diagram is important. Developers need to test their system if it follows every thing according to the program. That is why they need to use this type of chart, to simplify things for their stakeholders and users.
Starting and maintaining a system needs a solid plan. That is why being prepared for anything that can happen is a prerequisite. On that note, if you are a developer and want to test your system if it follows every protocol, then you need to map out your system. To do so, you’ll need to test it using every possible use case and map it out in a UML use case diagram.
Comment (1).
This website uses cookies that are essential for the operations of this website and its core functions. Other cookies will only be placed with your consent. For more details visit our Cookies Policy .
When a system software is in the developing phase, then for making it perform efficiently, the developers specify different use cases to check the possible behavior of the software in different cases or situations. This diagram shows us the possible behavior of how the software will perform.
The benefit of using the use case diagram is that we develop the system with the user in mind. It is the best way to meet the requirements of the end-user. The use case diagram illustrates the relationship between the multiple use-cases, actors, and systems. The best practice is that the use case diagram should be small and crispy. The use case diagram specifies how a system will perform, which is why it shows only the functionality of the system.
In this section, we will talk about the four basic types of use case diagram notations. They are as follows.
The use cases tell us about how the system will perform in different cases. These use cases are made by keeping in mind what a user wants from the system. Depending on the user's wants and needs, the use cases are made, and then the system is developed and tested according to these cases.
An actor is simply the end-user. That can be anyone, a human, an organization, a machine, or anything. The actors are placed with different cases on the diagram to illustrate how the user will interact with the system.
The subsystems in the UML are the different fixed systems that behave independently in a system. They are used in UML diagrams to represent different units in the system.
They show the relationship between the model elements. It shows the behavior between model elements.
Source: www.ibm.com
This section will present multiple practical use case diagram examples that will clear out the mind and concept.
The Automatic Teller Machine (ATM) is the banking subsystem that enables the end-users to interact with the multiple functionalities of the bank like transactions, depositing, etc.
In this diagram, we have two actors, the customer, and the technician. The customer needs to check the balance, withdraw cash, deposit funds, and transfer funds. All these functionalities are the use cases. The technician repairs and maintains the ATM so that customers have no complaints. These are the use-cases too.
There is a relationship between the bank and the ATM because the user will only do such acts when the bank authenticates them.
In the above diagram, the site user and the webmaster are the actors of the UML diagram. The site user wants to search for documents, browse documents, and view events. These are the use cases or the functionality the user wants to do. The download and preview documents are the use cases too, and they are in relation to each other based on user requirements.
The webmaster upload documents, post new events to the homepage and add a user and these use cases are in relation with the managed folders and add company but still based on what the actor wants.
In the diagram, we can see the multiple actors: staff and the student, librarian, and library database. And we have dozens of use cases like authenticating, reserve a book, renewing a book, paying a fine, etc. Some use cases are related to each other, like invalid renewal and renewing a book, registering a new user, getting a library card ID, etc.
The librarian also does multiple tasks. The thing to notice here is that one actor is a machine that is the library database. As mentioned above, the actor can be anyone, either a human and a machine.
In this illustration, we have an online shopping subsystem. It has use cases like view items, make a purchase, checkout, and client register. Then we have multiple actors like the registered user, web customer, and new customer. These actors are related to each other. The use cases are also in a relationship.
The actors PayPal and credit payment service are the organizations interacting with the subsystem with different use-cases.
Source: www.uml-diagrams.org
It is the use case diagram of the hospital management system. In this diagram, the receptionist is the leading actor. The receptionist interacts with multiple use cases like a scheduled patient appointment, patient admission in the hospital, etc. These cases are related to each other.
It is an illustration of the car rental system use-case UML. Here, the insurance company is the actor that is the organization interacting with bill payment use-case and the customer is also an actor. Through the customer, the insurance company is also interacting with other use-cases of the car rental system. The employee and the manager are also the actors in this system.
Source: www.researchgate.net
It is the student registration system use-case UML diagram. Students, professors, and administrators are the actors. The system also has dozens of use-cases.
This system is the subsystem of the airline reservation system. The actors are passengers, admins, and the banks that are the organizations. The passenger is concerned with multiple use cases like login, check for availability, book ticket, etc. The book ticket use case is in relation to the choose seat use case. The admin cancels tickets, updates flight schedules. The bank sees the payment use cases.
Click the video below to learn more about how to create UML Modeling and EdrawMax .
Describing your system with a use case diagram before developing is essential in itself. It helps you to understand what the user needs. It helps you in making system functions more feasible. The best thing is that the use cases are visible. It helps you in testing and improving the software quickly. The use case diagram helps you to make your product user-friendly.
You can use EdrawMax to make a use case diagram. EdrawMax is the best diagram-making software that helps you to make any diagram efficiently. The software contains all the packages and libraries that will suffice you in your diagram-making.
EdrawMax allows you to import your templates or use pre-generated examples to make your production faster. You are allowed to export your project to any site. The software is free to use for the preliminary work, but you have to go for the pricing options for premium features.
What are your diagramming needs, i want to make my own diagram in lucidchart., i want to make diagram from a lucidchart template..
Making a use case diagram doesn't have to be complicated. Once you understand the conventions of UML, you can create and refine UML diagrams. Follow these steps to draw your own use case diagram in UML.
3 minute read
Want to make a Diagram of your own? Try Lucidchart. It's quick, easy, and completely free.
Get started with lucidchart.
Diagramming is quick and easy with Lucidchart. Start a free trial today to start creating and collaborating.
Use case diagrams differ from other UML diagrams due to their focus on actors and their interactions with a system. A use case diagram should always be organized according to the actor's perspective. Create these diagrams to help your business:
Determine where in a workflow users interact with the system.
Consider which use cases are inside or outside the scope of the system.
Define goals that actors achieve.
Begin by dragging a system boundary box onto your canvas. In Lucidchart, this shape is labeled as a rectangle container. In a development use case, systems represent what you are developing, such as a software component or a complete suite.
Next, focus on the actors. Your use case diagram should reflect the actor's perspective, so ask yourself what the end user wants from the system. Actors are represented by stick figures, a fitting symbol since actors are often people. Rename your actors to reflect their role.
Now it's time to drag use cases onto your system. These ovals represent the activities that actors will perform with the help of your system. For example, if you're developing a check-in mobile application, the system would be the app, and the actor would be the user. Possible use cases would be checking in, searching for a nearby venue, and finding friends.
Start with major activities or transactions, leaving sub-activities for later. Place each use case in the system that supports it, and draw use cases not supported by your system outside the box. For instance, if your check-in app does not support taking photos, but it's on the agenda for a future release, put it outside the system. Drag lines from the actors to the use cases by pulling out a line from the red dots that appear when you hover over the shape.
Now you should have a simple use case diagram. There are several ways you can customize your chart: add a color scheme, change the font, or add notes.
Congratulations! You have created a beautiful diagram with Lucidchart. To show off your good work (or to explain the functionality of your system to others), download your diagram to send to co-workers and friends. Click File > Download As and select your desired file type.
If you would prefer to collaborate and allow others to contribute to the diagram, click the "Share" button at the top-right corner of the Lucidchart editor. Feel free to share your document with both Lucidchart users and non-users.
Lucidchart is also fully integrated with all your favorite apps. Add diagrams to your Google Docs, Microsoft PowerPoint slides, or company wiki page in Confluence using our add-ons. Use Lucidchart integrations to streamline implementation.
Try Lucidchart as you draw use case diagrams in Unified Modeling Language (UML). The intuitive interface will simplify the diagramming process, and with in-editor collaboration and sharing, you can easily share your diagram to explain use cases to stakeholders and anyone involved with building and maintaining your system.
Whiteboarding collaborate with your team on a seamless workspace no matter where they are., data generate diagrams from data and add data to shapes to enhance your existing visuals., enterprise friendly easy to administer and license your entire organization., security see how we keep your data safe., apps & integrations connect to all the tools you use from microsoft, google workspace, atlassian, and more..
Software engineering design and maintain complex systems collaboratively., information technology visualize system architecture, document processes, and communicate internal policies., sales close bigger deals with reproducible processes that lead to successful onboarding and training..
Whiteboard learn how to combine free-form brainstorming with diagram blueprints all while collaborating with your team., data visualizers learn how to generate visuals like org charts and class diagrams from data., development platform browse built-in data visualizers and see how you can build your own custom visualization., open api the smartdraw api allows you to skip the drawing process and generate diagrams from data automatically., shape data add data to shapes, import data, export manifests, and create data rules to change dashboards that update..
License everyone for as low as $1 per user per month.
Save money, and replace Visio, Lucidchart, Lucidspark, and Miro with a SmartDraw site license.
Templates get inspired by browsing examples and templates available in smartdraw., developer resources, additional resources.
Team license get powerful administrative features for your team., solutions for your team.
Easily visualize your system's functionality with use case diagrams, what is a use case diagram, why make use case diagrams, use case diagram symbols, use case diagram tutorial, use case diagram tips, use case diagram examples, how to make uml diagrams, uml diagram tips, other uml diagrams, with smartdraw, you can create many different types of diagrams, charts, and visuals.
A use case diagram is a dynamic or behavior diagram in UML . Use case diagrams model the functionality of a system using actors and use cases. Use cases are a set of actions, services, and functions that the system needs to perform. In this context, a "system" is something being developed or operated, such as a web site. The "actors" are people or entities operating under defined roles within the system.
Use case diagrams are valuable for visualizing the functional requirements of a system that will translate into design choices and development priorities.
They also help identify any internal or external factors that may influence the system and should be taken into consideration.
They provide a good high level analysis from outside the system. Use case diagrams specify how the system interacts with actors without worrying about the details of how that functionality is implemented.
Draw your system's boundaries using a rectangle that contains use cases. Place actors outside the system's boundaries.
Draw use cases using ovals. Label the ovals with verbs that represent the system's functions.
Actors are the users of a system. When one system is the actor of another system, label the actor system with the actor stereotype.
Illustrate relationships between an actor and a use case with a simple line. For relationships among use cases, use arrows labeled either "uses" or "extends." A "uses" relationship indicates that one use case is needed by another in order to perform a task. An "extends" relationship indicates alternative options under a certain use case.
Start with one of SmartDraw's blank UML diagram templates or an included use case diagram example. You can quickly add shapes and users and connect them. To add text, just click and type.
When thinking of use cases, think of the end goal of a user. They don't want to "login" or "sign up." That's not a use case. The use case is more like "make a purchase."
Actors don't have names. They're not "Bob." They represent the role of someone interacting with the system.
Keep your names short and the size of your use cases consistent for a professional look.
For a detailed implementation of a user's goal use a sequence diagram .
The best way to understand use case diagrams is to look at some examples of use case diagrams.
Click on any of these UML diagrams included in SmartDraw and edit them:
Browse SmartDraw's entire collection of UML diagram examples and templates
Discover why SmartDraw is the best use case diagram software today.
Updated on: 13 December 2022
When it comes to drawing use case diagrams one area many struggles with is showing various relationships in use case diagrams. In fact many tend to confuse <<extend>>, <<include>> and generalization. This article will look into various use case diagram relationships in detail and explain them using examples. To get a deeper understanding of use cases, check out our use case diagram tutorial . If you want to draw them while learning you can use our tool to create use case diagrams .
There can be 5 relationship types in a use case diagram.
Let’s take a look at these relationships in detail.
This one is straightforward and present in every use case diagram. Few things to note.
Different ways association relationship appears in use case diagrams
Check out the use case diagram guidelines for other things to consider when adding an actor.
Generalization of an actor means that one actor can inherit the role of the other actor. The descendant inherits all the use cases of the ancestor. The descendant has one or more use cases that are specific to that role. Let’s expand the previous use case diagram to show the generalization of an actor.
A generalized actor in an use case diagram
Many people confuse the extend relationship in use cases. As the name implies it extends the base use case and adds more functionality to the system. Here are a few things to consider when using the << extend >> relationship.
Lets expand our current example to show the <<extend>> relationship.
Extend relationship in use case diagrams
Although extending use case is optional most of the time it is not a must. An extending use case can have non-optional behavior as well. This mostly happens when your modeling complex behaviors.
For example, in an accounting system, one use case might be “Add Account Ledger Entry”. This might have extending use cases “Add Tax Ledger Entry” and “Add Payment Ledger Entry”. These are not optional but depend on the account ledger entry. Also, they have their own specific behavior to be modeled as a separate use case.
Include relationship show that the behavior of the included use case is part of the including (base) use case. The main reason for this is to reuse common actions across multiple use cases. In some situations, this is done to simplify complex behaviors. Few things to consider when using the <<include>> relationship.
Lest expand our banking system use case diagram to show include relationships as well.
Includes is usually used to model common behavior
For some further reading regarding the difference between extend and include relationships in use case diagrams check this StackOverflow link .
This is similar to the generalization of an actor. The behavior of the ancestor is inherited by the descendant. This is used when there is common behavior between two use cases and also specialized behavior specific to each use case.
For example, in the previous banking example, there might be a use case called “Pay Bills”. This can be generalized to “Pay by Credit Card”, “Pay by Bank Balance” etc.
I hope you found this article about use case relationships helpful and useful. You can use our diagramming tool to easily create use case diagrams online . As always if you have any questions don’t hesitate to ask them in the comments section.
Join over thousands of organizations that use Creately to brainstorm, plan, analyze, and execute their projects successfully.
Many thanks for this great tutorial. It is really very clear with good examples and explanation methodology and most probably one of the best UML Tutorial on the web. Hope to come across such kind of good tutorials again…
Great tutorial! It’s probably the best one I’ve read
Does an included use case have to be used everytime the base case is used?
yes it does. the included use case is always be used everytime the base use case used. it’s like when someone’s sneezing he always close his eyes. sneezing is the base use case and closing eyes is the included use case.
is it possible to make extensions within a use case itself.
Yes, “The same extending UseCase can extend more than one UseCase. Furthermore, an extending UseCase may itself be extended.” – UML 2.5.1 Specification.
Found it better than other tutorials…. explaining everything as part of the development process. Thanks, hope to see other tutorials on OOAD and other topics.
This tutorial helped me to understand the difference between include and extend. Keep it up bro. Good luck!
Question: There are two sub usecases in a genaralized one. If I want a include to be attached to which one do I attach it. The main Usecase or the sub usecase
Awesome article … well and clearly explained all the concepts in use case diagrams
why use <> in use case?
In Visual Modeling we model according to some standard. Every shape or sign has a meaning.To draw relationship between Use cases we use to express the type of relationship by mentioning relationship type within . It’s a standard.
Fantastic. This is the most succinct and precise explanation of use case and their relationships that I have ever come across. Thanks
I agree – the best tutorial explaining the relationships that it can truly be understood! Thanks!!
What is the difference between “Extend” and “Generalization”?
I was preparing for my CBAP exam and this post helped me understand the difference between Extend and Include. Thanks.
what is diference between use case and use case modeling
A use case is a functionality performed by an actor(primary,secondary or offstage) Use case modeling is a process of drawing use cases in some modeling languages e.g StarUml
Nice tutorial, very helpful. Thanks a lot 🙂
Awesome Tutorial. now i understood use-case-relationship……..
Super Tutorial….. very very helpful for me to learn about Use Case Diagram……Thank u very much and I have a grate proud about u as a Sri Lankan. Keep up.
not generalized but specialised
Good tutorial! Really helpful for me
Please enter an answer in digits: 14 − 5 =
Use Case Diagram captures the system’s functionality and requirements by using actors and use cases. Use Cases model the services, tasks, function that a system needs to perform. Use cases represent high-level functionalities and how a user will handle the system. Use-cases are the core concepts of Unified Modelling language modeling.
A Use Case consists of use cases, persons, or various things that are invoking the features called as actors and the elements that are responsible for implementing the use cases. Use case diagrams capture the dynamic behaviour of a live system. It models how an external entity interacts with the system to make it work. Use case diagrams are responsible for visualizing the external things that interact with the part of the system.
Following are the common notations used in a use case diagram:
Use cases are used to represent high-level functionalities and how the user will handle the system. A use case represents a distinct functionality of a system, a component, a package, or a class. It is denoted by an oval shape with the name of a use case written inside the oval shape. The notation of a use case in UML is given below:
It is used inside use case diagrams. The actor is an entity that interacts with the system. A user is the best example of an actor. An actor is an entity that initiates the use case from outside the scope of a use case. It can be any element that can trigger an interaction with the use case. One actor can be associated with multiple use cases in the system. The actor notation in UML is given below.
To draw a use case diagram in UML first one need to analyse the entire system carefully. You have to find out every single function that is provided by the system. After all the functionalities of a system are found out, then these functionalities are converted into various use cases which will be used in the use case diagram.
A use case is nothing but a core functionality of any working system. After organizing the use cases, we have to enlist the various actors or things that are going to interact with the system. These actors are responsible for invoking the functionality of a system. Actors can be a person or a thing. It can also be a private entity of a system. These actors must be relevant to the functionality or a system they are interacting with.
After the actors and use cases are enlisted, then you have to explore the relationship of a particular actor with the use case or a system. One must identify the total number of ways an actor could interact with the system. A single actor can interact with multiple use cases at the same time, or it can interact with numerous use cases simultaneously.
Following rules must be followed while drawing use-case for any system:
Following use case diagram represents the working of the student management system:
In the above use case diagram, there are two actors named student and a teacher. There are a total of five use cases that represent the specific functionality of a student management system. Each actor interacts with a particular use case. A student actor can check attendance, timetable as well as test marks on the application or a system. This actor can perform only these interactions with the system even though other use cases are remaining in the system.
It is not necessary that each actor should interact with all the use cases, but it can happen.
The second actor named teacher can interact with all the functionalities or use cases of the system. This actor can also update the attendance of a student and marks of the student. These interactions of both student and a teacher actor together sums up the entire student management application.
A use case is a unique functionality of a system which is accomplished by a user. A purpose of use case diagram is to capture core functionalities of a system and visualize the interactions of various things called as actors with the use case. This is the general use of a use case diagram.
The use case diagrams represent the core parts of a system and the workflow between them. In use case, implementation details are hidden from the external use only the event flow is represented.
With the help of use case diagrams, we can find out pre and post conditions after the interaction with the actor. These conditions can be determined using various test cases.
In general use case diagrams are used for:
Use cases are intended to convey desired functionality so the exact scope of a use case may vary according to the system and the purpose of creating UML model.
Here we provide some examples of UML use case diagrams .
Purpose : An example of a business use case diagram for airport check-in and security screening.
Summary : Business use cases are Individual Check-In, Group Check-In (for groups of tourists), Security Screening, etc. - representing business functions or processes taking place in an airport and serving needs of passengers.
Purpose : Two alternative examples of business use case diagram for a Restaurant - external and internal business views of a restaurant.
Summary : Several business actors having some needs and goals as related to the restaurant and business use cases expressing expectations of the actors from the business.
Purpose : Show that ticket vending machine allows commuters to buy tickets.
Summary : The ultimate goal of a Commuter in relation to our ticket vending machine is to buy a ticket. We have a single Purchase Ticket use case, as this vending machine is not providing any other services. Ticket vending machine is a subject of the example use case diagram. Commuter and Bank are our actors , both participating in the Purchase Ticket use case .
Purpose : Describe use cases that an automated teller machine (ATM) or the automatic banking machine (ABM) provides to the bank customers.
Summary : Customer uses a bank ATM to check balances of his/her bank accounts, deposit funds, withdraw cash and/or transfer funds (use cases). ATM Technician provides maintenance and repairs to the ATM.
Purpose : An example of use cases for a Point of Sale (POS) Terminal or Checkout in a supermarket.
Summary : Checkout use case involves Customer, Clerk and Credit Payment Service actors and includes scanning items, calculating total and taxes, and payment use cases. This is an example of a large and complex use case split into several smaller use cases.
Purpose : List top level use cases for e-Library online public access catalog.
Summary : Patrons of a library can search library catalog online to locate various resources - books, periodicals, audio and visual materials, or other items under control of the library. Patrons may reserve or renew item, provide feedback, and manage their account.
Purpose : Provide top level use cases for a web customer making purchases online.
Summary : Web customer actor uses some web site to make purchases online. Top level use cases are View Items , Make Purchase and Client Register .
Purpose : Define major use cases for a credit card processing system ( credit card payment gateway ).
Summary : The merchant submits a credit card transaction request to the credit card payment gateway on behalf of a customer. Bank which issued customer's credit card is actor which could approve or reject the transaction. If transaction is approved, funds will be transferred to merchant's bank account.
Purpose : Website management or administration UML use case diagrams example.
Summary : Website Administrator actor could manage user groups, users, user sessions, and logs. Help Desk staff uses a subset of functions available to the Website Administrator.
Purpose: Describe major services (functionality) provided by a hospital's reception.
Summary : This UML use case diagram example shows actor and use cases for a hospital's reception. Hospital Reception subsystem or module supports some of the many job duties of a hospital receptionist. Receptionist schedules patient's appointment and admission to the hospital, collects information from the patient by phone and/or upon patient's arrival to the hospital.
For the patient that will stay in the hospital ("inpatient") she or he should have a bed allotted in a ward. Receptionists might also receive patient's payments, record them in a database and provide receipts, file insurance claims and medical reports.
Purpose: Radiology diagnostic reporting UML use case diagram example for Simple Image and Numeric Report (SINR) IHE Radiology Integration Profile.
Summary : In the initial stage of diagnostic reporting, a reading physician records a diagnosis by generating a draft DICOM Structured Report (SR) object. Report Creator actor transmits that DICOM SR object to the Report Manager. External Report Repository Access actor is a gateway to obtain other enterprise department reports, such as Laboratory and Pathology, from within the Imaging department.
Purpose: Use case diagram example shows some simplified view of software licensing use cases supported by Sentinel EMS Application.
Summary : Sentinel License Development Kit (Sentinel LDK) is a Software Digital Rights Management (DRM) solution by SafeNet Inc. that delivers strong copy protection, protection for Intellectual Property (IP), and secure and flexible licensing. The Sentinel EMS application handles three major workflows - license planning, order processing and production, and activation of trial software.
We use essential cookies to make Venngage work. By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.
Manage Cookies
Cookies and similar technologies collect certain information about how you’re using our website. Some of them are essential, and without them you wouldn’t be able to use Venngage. But others are optional, and you get to choose whether we use them or not.
Strictly Necessary Cookies
These cookies are always on, as they’re essential for making Venngage work, and making it safe. Without these cookies, services you’ve asked for can’t be provided.
Show cookie providers
Functionality Cookies
These cookies help us provide enhanced functionality and personalisation, and remember your settings. They may be set by us or by third party providers.
Performance Cookies
These cookies help us analyze how many people are using Venngage, where they come from and how they're using it. If you opt out of these cookies, we can’t get feedback to make Venngage better for you and all our users.
Targeting Cookies
These cookies are set by our advertising partners to track your activity and show you relevant Venngage ads on other sites as you browse the internet.
Blog Data Visualization Everything You Need to Know About Use Case Diagrams
Written by: Jennifer Gaskin Nov 16, 2021
Organizations that regularly interact with their customers need to have ways of visualizing those processes and describing how exactly the interaction should go. Borrowing from the software programming industry, building a use case diagram is an excellent way to do this.
Let’s explore what you need to know about use case diagrams and how they can help keep everything straight in your company’s systems and processes, then start creating one using Venngage Use Case Diagram Maker .
What is a use case diagram, what is a use case diagram used for, what are the 4 main components of a use case diagram, how do you create a use case diagram, use case diagram examples.
Use case diagrams visualize the interactions a user or customer could have with a system. Formerly used only in computer programming, use case diagrams have become popular in the retail and customer service industries to explain how customers interact with a business.
While they are still primarily used for computer programming and other technical fields, use case diagrams have gained wider use in other business areas, and many organizations create use case diagrams to help them visualize all the ways a person might interact with their company.
In a business context, organizations can create use case diagrams or illustrations to visualize their sales and marketing flow, describe typical interactions with their technology or applications or analyze a complex workflow.
This use case diagram, for example, makes sense of the often-chaotic process of running a restaurant, with the many moving parts that go into creating a seamless experience for diners.
Interested in diagramming? Learn about all the diagrams you can create with Venngage.
Return to Table of Contents
The four elements of a use case diagram are:
In other words, a use case diagram should visualize a reason (use case) why an individual (actor) would interact with your organization (system) and the relationships between the business and the individuals.
Use case diagrams can be simple in how they visualize these four elements, as in the example below that describes why (use cases) two types of customers (actors) might interact with a bank (system) and the relationships that result.
These types of diagrams can also be complicated and describe many types of functions that may or may not always take place in the course of an individual’s relationship with a system. This example illustrates some use cases that will always occur and some that may occur.
Use case diagrams not right for your needs? Try a flowchart instead. Also check out our collection of 20+ flowchart templates and examples professionally designed for you.
First, you need to organize your four key elements — system, actors, use cases and relationships. Then, arrange them visually in a way that makes sense and will allow you to see immediately the connections between them.
Some use case diagrams also establish certain steps that may need to be a part of every use case in question or only some; it’s typical to use the terms “include” or “extend” to do this, as in the example below.
Here’s a good primer to help you understand the difference:
In other words, interactions that always happen should be described with an include notation, while those that may happen under certain conditions should be described with an extend notation.
It could be difficult to create a use case diagram from scratch, and most diagram makers don’t allow you to create robust, eye-catching diagrams that are visually pleasing while still delivering the message you want.
Instead, choose a Venngage use case diagram template and edit it using our smart diagram editor. It’s easy to get started and design your use case diagram in just 5 steps:
Step 1 : Register for a FREE Venngage account.
Step 2 : Choose the use case diagram template you want. Aside from the templates above, we offer some more examples you can explore right down below.
You can also choose the template from our diagram template library:
Step 3 : Customize your diagram using our smart editor. Add text, delete and move nodes around easily.
Step 4 : Add some pizzazz to your diagrams using icons and illustrations. We offer 40,000+ icons and illustrations, over 2000 of which are diverse icons .
Make sure your diagrams have your brand colors , logos and fonts as well by using My Brand Kit :
Step 5 : Share a public link for free or upgrade to download. You can export your diagram in PNG, PDF or even as a .pptx file to use on PowerPoint or Google Slides.
Let’s check out some additional use case diagram examples that may help inspire you to come up with a new way to visualize an internal process or customer interaction with your organization.
This business use case diagram illustrates a contract management system using the extend/include function to explain processes that happen with each customer and ones that may happen, though not in every case.
In this use case diagram, we see the simpler method to describing a series of interactions two different customers can have with a bank (and a banking employee). This type of diagram is appropriate for comparing these customers with each other and not necessarily visualizing every possible interaction they could have with the employee.
Going back to our ATM example, this use case diagram illustrates interactions that occur for each individual (bank customer and administrator) and ones that only occur for some (a customer entering a bad PIN). This type of use case diagram would be useful for organizations that need to visualize multiple types of actors on a single diagram.
This use case diagram visualizes interactions a customer could have with their travel agent, including some that occur every time (include) and some that occur under certain conditions (extend). Notably, this use case diagram also illustrates how the agent then interacts with two other systems, airline and touring companies, making it ideal for processes involving third-party vendors.
What is uml.
Use case diagrams are not unrelated to UML, which stands for Unified Modeling Language, which is popular in software engineering. In UML, engineers can create many types of diagrams to help them understand and accurately program a variety of information and interactions.
UML has two broad categories of diagrams, structural and behavioral, and use case diagrams fall into the second category. That’s because they describe the behavior of the individual user as it relates to the system in question.
UML diagrams are a method of creating a visual representation of a system, including actors, actions, roles, classes and more, in order to better understand or document functions and information about a system.
Some UML diagrams are use case diagrams, but not all use case diagrams are created under the UML model, and there are many more types of diagrams that can help support a UML-based methodology.
Here are just a few of the types of diagrams possible with UML:
With Venngage Diagram Maker , you can create a use case diagram in just a few steps, ensuring that it follows your brand guidelines with a couple of clicks. Our diagram templates are created by professional designers with you in mind, so you can easily edit them even if you don’t have much design experience. It’s free to get started.
Discover popular designs
Infographic maker
Brochure maker
White paper online
Newsletter creator
Flyer maker
Timeline maker
Letterhead maker
Mind map maker
Ebook maker
A use case diagram is used to represent the dynamic behavior of a system. It encapsulates the system's functionality by incorporating use cases, actors, and their relationships. It models the tasks, services, and functions required by a system/subsystem of an application. It depicts the high-level functionality of a system and also tells how the user handles a system. The main purpose of a use case diagram is to portray the dynamic aspect of a system. It accumulates the system's requirement, which includes both internal as well as external influences. It invokes persons, use cases, and several things that invoke the actors and elements accountable for the implementation of use case diagrams. It represents how an entity from the external environment can interact with a part of the system. Following are the purposes of a use case diagram given below: It is essential to analyze the whole system before starting with drawing a use case diagram, and then the system's functionalities are found. And once every single functionality is identified, they are then transformed into the use cases to be used in the use case diagram. After that, we will enlist the actors that will interact with the system. The actors are the person or a thing that invokes the functionality of a system. It may be a system or a private entity, such that it requires an entity to be pertinent to the functionalities of the system to which it is going to interact. Once both the actors and use cases are enlisted, the relation between the actor and use case/ system is inspected. It identifies the no of times an actor communicates with the system. Basically, an actor can interact multiple times with a use case or system at a particular instance of time. Following are some rules that must be followed while drawing a use case diagram: A use case diagram depicting the Online Shopping website is given below. Here the Web Customer actor makes use of any online shopping website to purchase online. The top-level uses are as follows; View Items, Make Purchase, Checkout, Client Register. The use case is utilized by the customer who searches and view products. The use case allows the customer to register itself with the website for availing gift vouchers, coupons, or getting a private sale invitation. It is to be noted that the is an included use case, which is part of and it is not available by itself. is further extended by several use cases such as; Search Items, Browse Items, View Recommended Items, Add to Shopping Cart, Add to Wish list. All of these extended use cases provide some functions to customers, which allows them to search for an item. The View Items is further extended by several use cases such as; Search Items, Browse Items, View Recommended Items, Add to Shopping Cart, Add to Wish list. All of these extended use cases provide some functions to customers, which allows them to search for an item.Both and include the Customer Authentication use case, as they necessitate authenticated customers, and simultaneously item can be added to the shopping cart without any user authentication. use case also includes the following use cases, as shown below. It requires an authenticated Web Customer, which can be done by login page, user authentication cookie ("Remember me"), or Single Sign-On (SSO). SSO needs an external identity provider's participation, while Web site authentication service is utilized in all these use cases.The Checkout use case involves Payment use case that can be done either by the credit card and external credit payment services or with PayPal. Following are some important tips that are to be kept in mind while drawing a use case diagram: |
Transact-SQL
Reinforcement Learning
R Programming
React Native
Python Design Patterns
Python Pillow
Python Turtle
Verbal Ability
Interview Questions
Company Questions
Artificial Intelligence
Cloud Computing
Data Science
Machine Learning
Data Structures
Operating System
Computer Network
Compiler Design
Computer Organization
Discrete Mathematics
Ethical Hacking
Computer Graphics
Software Engineering
Web Technology
Cyber Security
C Programming
Control System
Data Mining
Data Warehouse
Use case diagram, create use case diagram.
To create a Use Case Diagram:
Select first an element where a new Use Case Diagram to be contained as a child.
Select Model | Add Diagram | Use Case Diagram in Menu Bar or select Add Diagram | Use Case Diagram in Context Menu.
See also UML Use Case Diagram - For more information about UML Use Case Diagram.
To create an Use Case Subject:
Select Use Case Subject in Toolbox .
Drag on the diagram as the size of Use Case Subject.
You can use QuickEdit for Model Element (See Model Element ).
To create an Actor:
Select Actor in Toolbox .
Drag on the diagram as the size of Actor.
To create an Actor (model element only) by Menu:
Select an Element where a new Actor to be contained.
Select Model | Add | Actor in Menu Bar or Add | Actor in Context Menu.
You can use QuickEdit for Actor by double-click or press Enter on a selected Actor.
Name Expression : Edit name expression.
Syntax of Name Expression
Visibility : Change visibility property.
Add Note : Add a linked note.
Add Constraint : Add a constraint.
Add Attribute ( Ctrl+Enter ) : Add an attribute.
Add Operation ( Ctrl+Shift+Enter ) : Add an operation.
Add Sub-Actor : Add a sub-actor.
Add Super-Actor : Add a super actor.
Add Associated Use Case : Add an associated use case.
To suppress Attributes, see Suppress Attributes .
To suppress Operations, see Suppress Operations .
To show or hide Operation Signatures, see Show Operation Signature .
To create an Use Case:
Select Use Case in Toolbox .
Drag on the diagram as the size of Use Case.
To create an Use Case (model element only) by Menu:
Select an Element where a new Use Case to be contained.
Select Model | Add | Use Case in Menu Bar or Add | Use Case in Context Menu.
You can use QuickEdit for Use Case by double-click or press Enter on a selected Use Case.
Add Extension Point ( Ctrl+Enter ) : Add an extension point.
Add Associated Actor : Add an associated actor.
Add Included Use Case : Add an included use case.
Add Extended Use Case : Add an extended use case.
To add an Extension Point:
Select an Use Case.
Select Model | Add | Extension Point in Menu Bar or Add | Extension Point in Context Menu.
You can use QuickEdit for Extension Point by double-click or press Enter on a selected Extension Point.
Add ( Ctrl+Enter ) : Add one more extension point in the below.
Delete ( Ctrl+Delete ) : Delete the extension point
Move Up ( Ctrl+Up ) : Move the extension point up.
Move Down ( Ctrl+Down ) : Move the extension point down.
To create an Include:
Select Include in Toolbox .
Drag from a Use Case and drop on another Use Case (to be included).
You can use QuickEdit for Relationship (See Relationship ).
To create an Extend:
Select Extend in Toolbox .
Drag from a Use Case (to be extended) and drop on another Use Case.
Last updated 1 year ago
Data Analytics Fundamentals Course
Project Management Fundamentals Course
Agile Scrum Foundation Course
DevOps Training for Managers
Domain training courses.
Core business analysis.
Banking Domain Training
Insurance Domain Training
Payment Domain Training
Telecom Domain Training
Supply Chain Domain Training
Investment Banking Domain Training
Trade Finance Domain Training
Data Analytics Certification Training
IIBA CBDA Certification Course
Data Analytics Basics Course (Free)
Power BI Certification Training
Tableau Training
Back to Menu
ECBA Certification Training
CCBA Certification Training
CBAP Certification Training
CBAP Recertification Course
Agile Analysis Certification Course
CPOA Certification Course
BA Training with Banking Domain
BA Training with Healthcare Domain
BA Training with Investment Banking Domain
CBAP On-Demand Course
CCBA On-Demand Course
ECBA Self-Learning Course
PSM Self-Learning Course
CBDA Self-Learning Course
AAC Self-Learning Course
CPOA Self-Learning Course
US HealthCare Domsin Training
Data analytics training.
ECBA Question Bank
CCBA Question Bank
AAC Question Bank
CBAP Question Bank
CBDA Question Bank
CPOA Question Bank
MS Visio / UML Certification Course
SQL Certification For Business Analyst
UML Training/UML Modelling Course
Jira Training
MS Project Training
Confluence Training
Business Analyst Interview Preparation
Use case case study – uml modelling.
In this Use Case case study, I am going to present a case study of the airport check-in system. The case study includes the identification of actors, use cases and scenarios including activity diagrams. I have used a generic case study approach and can be used in any software project. This case study is useful for every business analysis study.
The sequence diagram for the same case study will be covered in some other post as that would have made this post too long.
This proposed software system is to be designed to allow passengers to check in and get the boarding pass for flying. The baggage can also be checked in, which is optional. The check-in can happen by the counter clerk or by the passenger using the kiosk.
The system should allow individuals as well as groups of passengers to check in through the system. The boarding pass can be issued through this system. Passengers below 4 yrs need not have tickets. The airport also allows provisioning for the special needs of passengers like wheelchairs etc.
The system should also be able to capture the fact that the baggage for a passenger is screened by security.
Use case modelling can be done in multiple ways. One of the standard processes is known as Rational Unified Process (RUP), this process is put forward by Rational Inc., now under Oracle.
In this article, I am going to suggest a process, which I used in my projects in various software companies. As per this process, the steps involved are as follows, these steps are for complete system analysis and design using UML models. However, in this article, we will look at only use case modelling steps:
The first step is to identify the actors from the given requirements. Actors are external entities, who interact with the system, to be developed. All the nouns used in the requirements could be actors. In our case, the possible candidates for being actors could be:
Identification of actors is an iterative activity, where we can refine the selection of actors. If you look at the actors' list, you can see that there are multiple types of passengers. This means that an actor namely Passengers has related actors. The actors can be shown as shown below:
Once we have identified actors, we can focus on the interactions of the actors with the system. In our case of the airline system, we can identify the following use cases:
This functional mapping is an excellent way of functional decomposition as well as identification of use cases. Based on the above functional map, we can go ahead to create the use case model. A detailed use case model is shown below:
The use cases are kept within the system boundaries with proper “Include” and “Exclude” relationships.
If you want to brush up on your basics of Use cases and UML, you can read this blog: What Is Use Case Basics & Diagrams?
Once we identify the use cases and build the use case model, the next step is to identify scenarios. The scenarios add details to the use case model. Scenarios also help in identifying business processes and creating activity diagrams.
Typically speaking, every use case may result in one or more scenarios. However, it’s not mandatory to make activity diagrams for each of the use cases. Every model diagram is created only if it helps in understanding the system better.
Scenarios can be of two types:
Let’s see the scenarios for the check-in process:-
Success Scenario: Check-in process getting completed without any issues
Alternate Scenario: Check-in process for Individuals having special needs
There are other alternate scenarios in this case, I am not writing the steps for them. You can try that as exercise.
i. Alternate Scenario: Baggage weight > Allowed limit ii. Alternate Scenario: Valid ID card not available iii. Alternate Scenario: Passenger checks in using Kiosk Having identified the scenarios, the next step is to create the activity diagram.
The activity diagrams can be created on the basis of identified steps and scenarios. You can use a tool to create the activity diagrams or use Microsoft Word or Powerpoint as well.
For our case study, the activity diagram is:
This is a type of case study, which are part of all of our business analysis courses, where we help participants to do it themselves so that they can get hands-on experience.
The use of use cases is an essential technique for business analysts to understand the requirements of stakeholders and build effective software solutions. Through the case study discussed in this article, we have seen how use cases can be applied in real-life scenarios to identify and analyze business requirements, document functional specifications, and develop robust software solutions that meet customer needs.
By following a structured approach to use case development, business analysts can ensure that the software solutions they develop are aligned with business objectives, meet user expectations, and deliver measurable business benefits.
Have you considered getting certified in business analysis but are unsure of which certification to pursue?
Consider getting certified as a Certified Business Analysis Professional (CBAP) by Techcanvass. The CBAP certification is a globally recognized certification that validates your expertise in business analysis and positions you as a leader in the field.
With Techcanvass's CBAP certification training program , you will gain a competitive edge in the job market and open up opportunities for career growth and development. In our training program, we cover tools like UMLet , yUML , and WebSequenceDiagrams . You will get access to all the study material, live instructor-led training, doubt-clearing sessions, and much more.
Comments
Your email address will not be published. Required fields are marked
POST COMMENT
Comment inserted Successsfully
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text
JOIN WEBINAR | |
Copyright © Techcanvass | All Rights Reserved
Let’s see the Use Case Diagrams and examples in Software Engineering.
A use case is an event or action with reference to the user/actor of the event/actions that should be performed through the software.
When we represent the use case and their interaction with actors/users through the UML( Unified modeling language ), then this kind of modeling is use case diagram.
Relationships among use cases:
Extend: There is an optional relationship among use cases.
Include: There is a compulsory relationship among use cases.
Inheritance: Some variables, functions or some other things are inherited from one use case to another use case.
You need to develop a social networking website with the following functionalities; First of all, the user should create his account. After that, the user can log in to the system and can change his profile picture. The Registered user should also be able to search for a friend. After searching a friend user can add friend.
Figure 1 represents the actions of a social website.
Use case: Register, Login
The user should register. After register user can log in to the system. So it means that register is a must to get a login (included) . The direction of the arrow represents that “register” is compulsory before “login”.
Use case: Login
once the user creates an account, now the user can log in every time without “signup”. So we also draw a direct arrow from the user to login (extend) .
Use cases: Login, Upload profile picture
When the user gets a login, now there is a choice for the user, that user can upload a profile picture or not. It totally depends on the choice of the user( extend ).
Use cases: Login, search friend
When the user gets a login, now there is a choice for the user, that the user can search a friend or not( extend ).
Use cases: Search friend, Add friend
When the user gets a login, now there is a choice for the user, that the user can search a friend or not (extend) . When a user searches a friend, then there is an option that the user adds a friend or not (extend) . But when a user adds friend then it must that user should first search the friend( included ).
Example 2:
You need to develop a web-based application with the following functionalities; Users can buy products online by placing the online order. The user can pay the bill by credit card or through Paypal.
This diagram represents inheritance among use cases. Place an order is the parent use case and pay through PayPal and pay through a credit card are child use cases. It means that some of the variables, functions are something else is inherited from parent to child.
Variables, functional and all kinds of data etc, that is set as protected, can be accessed from parent to child use case. For example, here anything can be inherited from place order use case to pay through pay and pay through credit card .
This diagram represents inheritance among use cases. authentication is the parent use case and authentication by finger authentication by info are child use cases. It means that some of the variables, functions are something else is inherited from parent to child.
Template for an explanation of the diagram
authentication | Authentication by fingerprint | “authentication” is the parent of “Authentication by fingerprint” | “authentication” will share the details with “Authentication by fingerprint”. |
authentication | Authentication by info | “authentication” is the parent of “Authentication by info” | “authentication” will share the details with “Authentication by info”. |
Variables, functional and all kinds of data, etc that are set as protected, can be accessed from parent to child use case. For example, here anything can be inherited from authentication use case to authentication by fingerprints and authentication info .
Suppose you need to make a software in which when the user confirms order and confirmation need the confirmation depends upon the product selection, calculation of price with tax and payment. Payment can be through PayPal or credit card.
Draw the use case diagram.
First step: Identify the requirements and put them in an oval shape.
Second step: Identify the users
Third step: Identify the relationships include, extend and generalization(parent/child).
Fourth step: Draw the Boundary
Fifth step: Connect the actor/user with the use case.
For example, in this case study following are the functional requirements;
Confirm order | Selection of product | “Selection of product” must be included with “Confirm order” | “Confirm order” will complete only if “Selection of product” is done. |
Confirm order | Calculate price with tax | “Calculate price with tax” must be included with “Confirm order” | “Confirm order” will complete only if “Calculate price with tax” is done. |
Confirm order | payment | “payment” must be included with “Confirm order” | “Confirm order” will complete only if “payment” is done. |
Confirm order | Print slip | “Print slip” is extended with “Confirm order” | “Confirm order” can complete with or without “Print slip” is done. |
payment | Payment through PayPal | “payment” is the parent of “Payment through PayPal” | “payment ” will share the details with “Payment through PayPal”. |
payment | Payment through credit card | “payment” is the parent of “Payment through credit card.” | “payment ” will share the details with “Payment through credit card”. |
There are many benefits to use cases. Some of the advantages are mentioned below;
Class diagrams and use case diagrams illustrate systems based on what concept?
Class diagrams and use case diagrams are used to illustrate systems based on the concept of UML (Unified Modeling Language).
What is the difference between include, base use case and included use case?
For example, in the figure confirm the order is the base use case and payment is included use case. It means that system will confirm the order if and only if the payment process will complete.
You can click here to exercise the use case diagrams.
UML Diagrams MCQs Questions Answers
You must be logged in to post a comment.
A use case diagram in UML helps to show the various ways in which a user could interact with a system. For a Library Management System, the use case diagram helps visualize the interactions between users (actors) and the system’s functionalities (use cases). This diagram provides a clear, simplified way to understand how the system operates and what it offers to its users.
Table of Content
Use Case Diagram Notations
Use Case Diagram, referred to as a Behavior model or diagram. It simply describes and displays the relationship or interaction between the users or customers and providers of the application service or the system. It describes different actions that a system performs in collaboration to achieve something with one or more users of the system. A use-case diagram is used a lot nowadays to manage the system.
Use Case Diagram consists of the following components:
Let’s visually map out the relationships and interactions. Below is the textual description of what the diagram would look like:
Use Case Diagram For Library Management System
Here, we will understand the designing use case diagram for the library management system. Some scenarios of the system are as follows :
Similar reads.
Advertisement
Handling Editor: Vincent Larivière
Peer Review: https://www.webofscience.com/api/gateway/wos/peer-review/10.1162/qss_a_00319
Justin Fuhr , Caroline Monnin; Researcher profile system adoption and use across discipline and rank: A case study at the University of Manitoba. Quantitative Science Studies 2024; doi: https://doi.org/10.1162/qss_a_00319
Download citation file:
This study analyzes the adoption and use of researcher profile systems (ORCID, Scopus Author Profiles, Web of Science Researcher Profiles (formerly Publons), Google Scholar Profiles, and ResearchGate) across discipline and rank at the University of Manitoba (Winnipeg, Canada). The purpose of the study is to assess how many faculty members have registered for and use researcher profiles and whether there are any differences in use along discipline or academic rank. The adoption rate in the current study is compared with other international studies. At the University of Manitoba, there is variance in adoption between disciplines and ranks. When comparing profile systems by discipline, Google Scholar is the primary profile system for sciences and ORCID, Publons, and ResearchGate the primary profile systems for health sciences. There is variance of publication count between disciplines. Unsurprisingly, the number of publications increases as faculty are promoted. Among the studied profile systems, ORCID is not working as efficiently as it could be. Several recommendations to increase ORCID adoption are made, including mandatory public fields and suggestions for third-party integration. As part of increasing usage of profile systems, we see academic librarians as a key component of instruction and advocacy for graduate students and faculty.
Supplementary data, email alerts, related articles, affiliations.
Mit press direct.
Sign In or Create an Account
IMAGES
VIDEO
COMMENTS
Use case diagrams are a great tool that can help businesses and developers alike to design processes and systems. By capturing requirements and expectations from a user's point of view, they ensure the development of correct and efficient systems that will properly serve a user's goals.
A use case diagram doesn't go into a lot of detail—for example, don't expect it to model the order in which steps are performed. Instead, a proper use case diagram depicts a high-level overview of the relationship between use cases, actors, and systems.
Requirement analysis: Use case diagrams aid in understanding and documenting the functional requirements of a system by identifying actors and their interactions.; System design: Use case diagrams provide a high-level overview of system functionality, helping to define scope and design system components.; Communication with stakeholders: Use case diagrams facilitate discussions and ensure a ...
#3) Actor: The actor is the entity that interacts with the subject. The actor is external to the subject and hence lies outside the system's boundary. Actors' naming should represent the role they play in the system, e.g. Customer, Student, Web-User, etc. Notation is the "stick man" icon with the actor's name above or below the icon. Custom icons can also be used to denote actors to ...
A Use Case Diagram is a vital tool in system design, it provides a visual representation of how users interact with a system. It serves as a blueprint for understanding the functional requirements of a system from a user's perspective, aiding in the communication between stakeholders and guiding the development process.
Table of Contents hide 1 What is Use Case Modeling? 1.1 Key Concepts of Use Case Modeling 1.1.1 The Basics of Use Cases: 1.1.2 How to Perform Use Case Modeling? 1.1.3 Relationships Between Actors and Use Cases: 1.1.4 Creating Effective Use Cases: 1.1.5 Use Case Modeling Best Practices: 1.1.6 Use Case Modeling using Use Case […]
Benefits of Use Case Diagram. Use cases is a powerful technique for the elicitation and documentation of black-box functional requirements. Because, use cases are easy to understand and provide an excellent way for communicating with customers and users as they are written in natural language.
Use case diagrams are visual representations of written use case scenarios. Once you've hammered out the kinks in your goals, use Lucidchart to diagram the interactions between the use cases and actors to write the success story for your project.
A Use case diagram is part of the Unified modeling language, and is used by developers to see the interaction between the end users of their program and their system.
Back to top What is a Use Case Diagram? Use case diagrams are a type of UML diagram that summarize the details of a system's function by depicting outside users' interactions with it. By visualizing all of the possible actions taken between a system and an external actor, use case diagrams are helpful for system planning and communication.
In the diagram, we can see the multiple actors: staff and the student, librarian, and library database. And we have dozens of use cases like authenticating, reserve a book, renewing a book, paying a fine, etc.
Use case diagrams differ from other UML diagrams due to their focus on actors and their interactions with a system. A use case diagram should always be organized according to the actor's perspective.
Use case diagrams model the functionality of a system using actors and use cases. Use cases are a set of actions, services, and functions that the system needs to perform. Learn more.
Check out the use case diagram guidelines for other things to consider when adding an actor.. Generalization of an Actor. Generalization of an actor means that one actor can inherit the role of the other actor. The descendant inherits all the use cases of the ancestor.
What is the Use Case Diagram? Use Case Diagram captures the system's functionality and requirements by using actors and use cases. Use Cases model the services, tasks, function that a system needs to perform. Use cases represent high-level functionalities and how a user will handle the system.
Use Case Descriptions • actors - something with a behavior or role, e.g., a person, another system, organization. • scenario - a specific sequence of actions and interactions between actors and the system, a.k.a. a use case instance • use case - a collection of related success and failure scenarios, describing actors using the system to
Hospital Management. Purpose: Describe major services (functionality) provided by a hospital's reception. Summary: This UML use case diagram example shows actor and use cases for a hospital's reception.Hospital Reception subsystem or module supports some of the many job duties of a hospital receptionist. Receptionist schedules patient's appointment and admission to the hospital, collects ...
CREATE THIS DIAGRAM TEMPLATE Here's a good primer to help you understand the difference: Extend: When describing an ATM use case, you would use an exclude line or connection a conditional scenario, say, if a user doesn't bank with that institution normally and must pay a fee to withdraw cash.; Include: In our ATM use case example, this could apply to a user putting their card into the ...
UML Use Case Diagram. A use case diagram is used to represent the dynamic behavior of a system. It encapsulates the system's functionality by incorporating use cases, actors, and their relationships.
Select Model | Add Diagram | Use Case Diagram in Menu Bar or select Add Diagram | Use Case Diagram in Context Menu.
In this Use Case case study, I am going to present a case study of the airport check-in system. The case study includes the identification of actors, use cases and scenarios including activity diagrams.
This diagram represents inheritance among use cases. Place an order is the parent use case and pay through PayPal and pay through a credit card are child use cases. It means that some of the variables, functions are something else is inherited from parent to child.
A use case diagram in UML helps to show the various ways in which a user could interact with a system. For a Library Management System, the use case diagram helps visualize the interactions between users (actors) and the system's functionalities (use cases).
Two new studies suggest that getting a vaccine to protect against a painful case of shingles may be beneficial for memory, too. An estimated 98% of US adults have had chickenpox and are at risk ...
The New York Police Department's use of "Stop-and-Frisk" is based on the Supreme Court case of Terry vs. Ohio in 1968. In this case, the Court ruled that the Fourth Amendment, prohibiting unreasonable searches and seizures, is not violated when an officer stops and frisks a person on the street without probable cause to arrest, if the officer has reasonable suspicion that the person has ...
Objective. To compare the efficacy and clinical outcomes of computed tomography (CT)-based virtual surgical planning (VSP) and a three-dimensional (3D)-printed, patient-specific reduction system to conventional indirect reduction techniques for diaphyseal tibial fractures stabilized using minimally invasive plate osteosynthesis (MIPO) in dogs.
Abstract. This study analyzes the adoption and use of researcher profile systems (ORCID, Scopus Author Profiles, Web of Science Researcher Profiles (formerly Publons), Google Scholar Profiles, and ResearchGate) across discipline and rank at the University of Manitoba (Winnipeg, Canada). The purpose of the study is to assess how many faculty members have registered for and use researcher ...
Universities can make a significant contribution to sustainability, and the development of sustainability competences in their graduates should be a key outcome of their courses. We propose an assessment framework for enabling and evaluating the attainment of sustainability competences in University students. We outline its six steps, offering tools on how to assess the alignment of University ...