Use case diagrams in software engineering
Pro Research Analysisby 
Searched over 200M research papers
Use Case Diagrams in Software Engineering: Key Concepts and Elements
Use case diagrams are a fundamental tool in software engineering for modeling the interactions between users (actors) and a system. They visually represent how users achieve their goals using the system, typically through a set of use cases, actors, associations, and relationships such as "include" and "extend" . These diagrams help teams understand system functionality and user interactions at a high level, making them valuable for both requirements gathering and communication among stakeholders Bouziane2024Sitompul2024.
Role of Use Case Diagrams in Requirements Engineering
Use case diagrams play a central role in requirements engineering by capturing functional requirements in a way that is accessible to both technical and non-technical stakeholders. They are often used early in the development process to clarify what the system should do and to ensure that all user needs are considered Bouziane2024Mornie2025. By providing a clear visual representation, use case diagrams help reduce misunderstandings and improve the quality of requirements elicitation and specification Bouziane2024Mornie2025Sitompul2024.
Automation and Tool Support for Use Case Diagram Generation
Manual creation of use case diagrams can be time-consuming and prone to errors, especially when dealing with complex or evolving requirements. Recent research has focused on automating the generation of use case diagrams from textual requirements or user stories using natural language processing (NLP) techniques Mornie2025Kumar2023. These automated approaches use NLP to extract actors, use cases, and relationships from structured or unstructured text, applying logical rules and heuristics to generate accurate diagrams more efficiently and consistently Mornie2025Kumar2023. Tools leveraging these methods have demonstrated high accuracy in symbol recognition and diagram generation, significantly reducing the effort required from software engineers Ražinskas2024Mornie2025Kumar2023.
Formalization, Consistency, and Semantic Analysis
The informality of traditional use case diagrams can lead to inconsistencies and defects early in the development cycle. To address this, researchers have proposed more formal structures and semantics for use case diagrams, making them machine-readable while retaining their readability for humans El-Attar2007Kautz2022. Formalizing the syntax and semantics of use case diagrams enables more precise comparison between different versions or variants, supporting tasks such as semantic differencing and feature analysis in software product lines Kautz2022Al-Msie'Deen2022. Automated approaches can also detect commonalities and variabilities across diagram variants, aiding in product line engineering and system evolution .
Educational and Methodological Support
Use case diagrams are not only important in practice but also in software engineering education. Ontologies and methodological assistants have been developed to provide a common reference for teaching use case diagram concepts and to guide students and practitioners in creating high-quality diagrams Aquino2020Bagiampou2012. These resources help bridge the gap between theory and practice, ensuring that learners understand both the elements and the best practices for use case modeling Aquino2020Bagiampou2012.
Integration with Other UML Artifacts and System Design
Use case diagrams serve as a foundation for other UML diagrams, such as sequence diagrams and activity diagrams, by providing a high-level overview of system functionality and user interactions . They also facilitate the integration of formal specifications with user interface prototyping, supporting the design of complex systems with requirements like time and security constraints .
Conclusion
Use case diagrams are a powerful and widely used tool in software engineering for modeling system requirements and user interactions. Advances in automation, formalization, and educational support have enhanced their effectiveness, making them more robust, consistent, and accessible. By bridging the gap between stakeholders and technical teams, use case diagrams continue to play a crucial role in the successful development of software systems El-Attar2007Bouziane2024Ražinskas2024+7 MORE.
Sources and full results
Most relevant research papers on this topic
DOI
DOI