Prompt2Diagram: Transforming Natural Language into Visual Diagrams Using Advanced NLP and LLM

M. S. Minu, Ashwin Babu, Senthil R., Tanveer Ahmed S. S.

2025

Abstract

Creating diagrams (such as flow charts, sequence diagrams, Gantt charts, class diagrams, state diagrams, user journey diagrams) is time-consuming, cognitively demanding, and typically manual endeavors. Although traditional techniques use either manual implementation or rule-based automation, they can be computationally inefficient at times, and at best, not widely accessible to non-technical users. Another problem in this domain is the difficult task of producing precise and comprehensive visual documentation (including user-required diagrams) for communications and decision making in software development, system design, and project management. In this context, we propose Prompt2Diagram, a novel system which automates the generation of diagrams from natural-language prompts. Drawing on the semantics of LLms (larger than human-readable models), prompt2Diagram translationally interprets user requirements, that are expressed in plain English, and converts them into precise and contextually pertinent diagrams. Prompt2Diagram has been developed by applying the advanced semantic knowledge of large language models to the problem domain, and this approach provides efficient, semantically rich, and adaptable diagram generation mechanisms. By automation and semantic generalisation, Prompt2Diagram can be perceived as an artificial intelligence (AI)-driven paradigm to improve the efficiency of manual diagram creation tasks while decreasing the cognitive burden associated with manual diagram creation.

Download


Paper Citation


in Harvard Style

Minu M., Babu A., R. S. and S. S. T. (2025). Prompt2Diagram: Transforming Natural Language into Visual Diagrams Using Advanced NLP and LLM. In Proceedings of the 1st International Conference on Research and Development in Information, Communication, and Computing Technologies - ICRDICCT`25; ISBN 978-989-758-777-1, SciTePress, pages 161-169. DOI: 10.5220/0013909600004919


in Bibtex Style

@conference{icrdicct`2525,
author={M. Minu and Ashwin Babu and Senthil R. and Tanveer S. S.},
title={Prompt2Diagram: Transforming Natural Language into Visual Diagrams Using Advanced NLP and LLM},
booktitle={Proceedings of the 1st International Conference on Research and Development in Information, Communication, and Computing Technologies - ICRDICCT`25},
year={2025},
pages={161-169},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013909600004919},
isbn={978-989-758-777-1},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 1st International Conference on Research and Development in Information, Communication, and Computing Technologies - ICRDICCT`25
TI - Prompt2Diagram: Transforming Natural Language into Visual Diagrams Using Advanced NLP and LLM
SN - 978-989-758-777-1
AU - Minu M.
AU - Babu A.
AU - R. S.
AU - S. S. T.
PY - 2025
SP - 161
EP - 169
DO - 10.5220/0013909600004919
PB - SciTePress