Automated project scheduling from UML sequence diagrams using OCR and critical path analysis

This paper introduces a novel automated framework aimed at bridging the gap between software design documentation and practical project management schedules. The primary objective is to address the longstanding challenge of manually translating UML sequence diagrams, fundamental design artifacts in software engineering, into executable and accurate project management plans such as Gantt charts and precedence graphs. Current manual approaches to schedule generation are notably error-prone, time-consuming, and inadequately integrated with the dynamic requirements of Agile and iterative project environments. To tackle this critical research gap, the paper proposes an integrated methodological pipeline combining advanced Optical Character Recognition (OCR), dependency graph generation, and machine learning optimization techniques. Specifically, OCR is employed to automatically extract tasks, interactions, and temporal details directly from visual representations of UML sequence diagrams, significantly reducing transcription errors and saving valuable planning time. Following extraction, tasks are structured into a validated Directed Acyclic Graph (DAG), accurately modeling inter-task dependencies and constraints. Further enhancing scheduling accuracy, the study applies gradient descent methods to iteratively predict and optimize task durations, moving beyond static estimates to dynamically refined predictions based on real-world project constraints. A forward pass analysis then calculates the earliest feasible start times, while Critical Path Method (CPM) analysis identifies the tasks crucial for project completion timelines. Comprehensive experimental validation across diverse scenarios clearly demonstrates the effectiveness and reliability of the proposed framework. Results show notable improvements in scheduling precision, visualization clarity through8/ generated Gantt charts and precedence graphs, and offering practical benefits to project managers and software development teams.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2025-12-18
DOI
https://doi.org/10.1038/s41598-025-32431-x
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Automated project scheduling from UML sequence diagrams using OCR and critical path analysis

Ayman Mohamed Mostafa, Abdulrahman Alyami, Hisham Allahem, Mahmood A. Mahmood
Scientific Reports
Software Engineering Research
article

Automated project scheduling from UML sequence diagrams using OCR and critical path analysis

Ayman Mohamed Mostafa, Abdulrahman Alyami, Hisham Allahem, Mahmood A. Mahmood
article en

Abstract

This paper introduces a novel automated framework aimed at bridging the gap between software design documentation and practical project management schedules. The primary objective is to address the longstanding challenge of manually translating UML sequence diagrams, fundamental design artifacts in software engineering, into executable and accurate project management plans such as Gantt charts and precedence graphs. Current manual approaches to schedule generation are notably error-prone, time-consuming, and inadequately integrated with the dynamic requirements of Agile and iterative project environments. To tackle this critical research gap, the paper proposes an integrated methodological pipeline combining advanced Optical Character Recognition (OCR), dependency graph generation, and machine learning optimization techniques. Specifically, OCR is employed to automatically extract tasks, interactions, and temporal details directly from visual representations of UML sequence diagrams, significantly reducing transcription errors and saving valuable planning time. Following extraction, tasks are structured into a validated Directed Acyclic Graph (DAG), accurately modeling inter-task dependencies and constraints. Further enhancing scheduling accuracy, the study applies gradient descent methods to iteratively predict and optimize task durations, moving beyond static estimates to dynamically refined predictions based on real-world project constraints. A forward pass analysis then calculates the earliest feasible start times, while Critical Path Method (CPM) analysis identifies the tasks crucial for project completion timelines. Comprehensive experimental validation across diverse scenarios clearly demonstrates the effectiveness and reliability of the proposed framework. Results show notable improvements in scheduling precision, visualization clarity through8/ generated Gantt charts and precedence graphs, and offering practical benefits to project managers and software development teams.

Scientific ReportsVol. 16(1)
Jouf University (SA)
Openalex Percentile: Top 47%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.