Back to search

Texas Tech University

Automated Code Generation from Flowcharts: A Multimodal Deep Learning Framework for Accurate Translation and Debugging

Abstract

dc:description.abstract

Flowcharts serve as an intuitive means of representing algorithms, especially for early-stage design and education. However, the manual conversion of these diagrams into executable source code is both time-consuming and prone to human error. While several automated solutions have been developed to streamline this process, they often fall short—typically supporting only a single programming language and struggling to accurately interpret hand-drawn flowcharts under diverse real-world conditions. These limitations hinder rapid software prototyping, requiring developers to spend extensive time on debugging and adapting platform-specific implementations. The growing need for a robust, automated system capable of converting diverse flowchart representations into multilingual programming code with minimal user intervention remains an industry challenge. To address these challenges, this thesis research introduces the Dynamic Flow-to-Code Generator (DFCG), a novel system designed to automate the process of converting flowcharts into structured code. The DFCG leverages multi-modal deep learning to analyze flowcharts and generate structured code across various programming languages. The key innovation of this system lies in its adaptive code generation engine, which constructs an intermediate logical representation of the flowchart before systematically transforming it into executable source code. By integrating advanced neural networks, the proposed DFCG system ensures high-fidelity pattern recognition, which enables accurate structural analysis and replicates complex algorithmic components. Beyond code generation, the DFCG also incorporates an interactive online Integrated Development Environment (IDE) that allows users to compile and test the generated code in real time, providing instant feedback and validation. Experimental results demonstrate that the DFCG significantly reduces the need for manual postprocessing by improving translation accuracy across multiple flowchart structures. This research bridges the gap between visual algorithm design and automated code generation, offering practical applications for industrial automation, software engineering, and educational programming environments.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department thesis:degree_department
Computer Science
Grantor
Texas Tech University
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Pawar, Swapnil Sanjay
Chair dc:contributor.committeechair
  • Sheng, Victor
Committee member dc:contributor.committeemember
  • Tiomkin, Stas
ORCID person:identifier.orcid

Subjects

dc:subject × 7

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2346/103217

Chain of custody

source
Harvested from
Texas Technology University
Base URL
ttu-ir.tdl.org/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Pawar, Swapnil Sanjay. Automated Code Generation from Flowcharts: A Multimodal Deep Learning Framework for Accurate Translation and Debugging. Masters thesis, Texas Tech University, 2025. https://hdl.handle.net/2346/103217