A data collection of UML diagrams in PlantUML notation mined from open-source software.
Volodymyr Polishchuk, Vladyslava Skidan
Kyiv National University of Technologies and Design, Mala Shyianovska (Nemyrovycha-Danchenka) Street, 2, Kyiv, 01011, Ukraine.
Key points
From the paper's conclusion- To address this gap, this data article presents a collection of 143,427 UML diagrams in PlantUML notation, mined from open-source software repositories indexed by the World of Code (WoC) infrastructure.
Abstract
Unified Modeling Language (UML) diagrams are widely used in software engineering education and practice. However, research on real-world UML usage has been constrained by the limited availability of large-scale, openly accessible, and structurally annotated diagram collections, with existing resources differing in size, format, and the absence of per-diagram type labels. To address this gap, this data article presents a collection of 143,427 UML diagrams in PlantUML notation, mined from open-source software repositories indexed by the World of Code (WoC) infrastructure. The data pipeline identifies PlantUML files by file extension across World of Code, validates the presence of PlantUML content markers, and compiles the validated files with PlantUML to confirm syntactic correctness. Each diagram is then assigned to one of nine standard UML types using a large language model (LLM)-based classifier, and processed by a parser-based tool that extracts per-type counts of 57 structural element kinds and 28 connection kinds. The collection comprises class (51.6%), sequence (24.6%), activity (6.8%), component (5.7%), use case (5.0%), state (3.0%), object (1.7%), deployment (1.4%), and timing (0.1%) diagrams. Each diagram is released as both PlantUML source code and a rendered Portable Network Graphics (PNG) image, accompanied by metadata that records the assigned diagram type, the structural element and connection counts, textual size metrics, and source repository attribution. The collection is published on Zenodo. Anticipated reuse scenarios include empirical analyses of UML usage in open-source software, training and evaluation of artificial-intelligence models for diagram understanding and generation, benchmarking of diagram-to-code and code-to-diagram translation tools, and the development of educational resources for software engineering.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Generating UML class diagrams as conceptual models through large language modelsSoftware and Systems Modeling · 2026
- Automatic Assessment of UML Models with Neural Networks: A Case Study for Software Engineering EducationComputers · 2026
- A curated dataset of Abstract Syntax Tree-based structural dependency graphs and object-oriented metrics for 21 open-source Java systems.Data in brief · 2026
- A Validated Dataset and Benchmark for Coherent Multi-Diagram SysML ModelsarXiv · 2026
- Scientific Figure Library connects visual examples with reusable plotting codebioRxiv · 2026
- SciDaSynth: Interactive Structured Data Extraction From Scientific Literature With Large Language ModelCampbell Systematic Reviews · 2025