Article

Toward generalizable unified modeling language automation: a dual case study on class and use case diagram generation

Year 2026 Journal / Conference Bulletin of Electrical Engineering and Informatics Vol. 15, No. 4, pp. 3268-3279 DOI / Link https://doi.org/10.11591/eei.v15i4.11226 ↗

Authors

Abstract

Manual generation of unified modeling language (UML) diagrams creates bottlenecks in agile development due to inconsistency and labor intensity. While large language models (LLMs) offer generative capabilities, existing solutions suffer from data scarcity and inadequate evaluation tools. To address this, we present a dual-LLM pipeline integrating lightweight specification generation with reasoning-oriented code synthesis. Uniquely, this framework employs a weighted multimodal validation module utilizing diverse vision-language models (VLMs) to assess diagrammatic fidelity. We further address the data shortage by releasing benchmark datasets comprising 5,000 class and 3,000 use case diagrams. Empirical results demonstrate a 95.8% rendering success rate for class diagrams and strong semantic alignment for use case models. By mitigating structural and behavioral reasoning conflicts, this research provides a replicable architecture and rigorous assessment methodology, establishing a robust foundation for scalable, artificial intelligence-driven automation in software engineering. © 2026 Institute of Advanced Engineering and Science. All rights reserved.

Keywords

Automated unified modeling language generation AuUMLCode Model reasoning PlantUML Software engineering

BibTeX

@article{ICTU2026_2032,
  author = {Van-Viet Nguyen and Huu-Khanh Nguyen and Kim-Son Nguyen and Thi Minh-Hue Luong and Duc-Quang Vu and The-Vinh Nguyen},
  title = {{Toward generalizable unified modeling language automation: a dual case study on class and use case diagram generation}},
  journal = {Bulletin of Electrical Engineering and Informatics},
  year = {2026},
  month = {8},
  volume = {15},
  number = {4},
  pages = {3268-3279},
  doi = {10.11591/eei.v15i4.11226},
  url = {https://doi.org/10.11591/eei.v15i4.11226}
}