Enhancing Class Diagram Dynamics: A Natural Language Approach with ChatGPT
Djaber Rouabhia, Ismail Hadjadj

TL;DR
This paper demonstrates how ChatGPT can be used to automatically enhance UML class diagrams from natural language use cases, improving accuracy and supporting agile development.
Contribution
It introduces a novel AI-driven method for dynamically updating class diagrams using NLP, which is a significant advancement over manual, static modeling techniques.
Findings
AI improves diagram accuracy and completeness
Dynamic updates support agile development cycles
Method demonstrates feasibility and benefits of AI in software modeling
Abstract
Integrating artificial intelligence (AI) into software engineering can transform traditional practices by enhancing efficiency, accuracy, and innovation. This study explores using ChatGPT, an advanced AI language model, to enhance UML class diagrams dynamically, an underexplored area. Traditionally, creating and maintaining class diagrams are manual, time-consuming, and error-prone processes. This research leverages natural language processing (NLP) techniques to automate the extraction of methods and interactions from detailed use case tables and integrate them into class diagrams. The methodology involves several steps: (1) developing detailed natural language use case tables by master's degree students for a "Waste Recycling Platform," (2) creating an initial static class diagram based on these tables, (3) iteratively enriching the class diagram through ChatGPT integration to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Natural Language Processing Techniques · Topic Modeling
