This project is a web application that converts Java source code into UML diagrams. It uses Streamlit for the backend and UI, PlantUML to convert the text to the image, and a Java parser to parse the Java code to PlantUML syntax.
- File Upload: Users can upload
.javafiles. The application will parse the Java code into PlantUML syntax and generate a UML diagram. - Customization: Users can customize the theme of the UML diagram from a dropdown menu.
- View and Download: The UML diagram is displayed as a
.pngimage which can be downloaded. - Manual Input: Users can manually input PlantUML code into a text box to generate a diagram.
- Streamlit: Streamlit is an open-source Python library that makes it easy to create and share beautiful, custom web apps for machine learning and data science. In this project, Streamlit is used for both the backend and the UI.
- PlantUML: PlantUML is an open-source tool that allows users to create UML diagrams from a plain text language. In this project, PlantUML is used to convert the PlantUML syntax into a UML diagram image.
- Java Parser: The Java parser is used to parse the Java source code into PlantUML syntax.
- Clone this repository.
- Install the required dependencies.
- Run the
main.pyscript.
This project wouldn't have been possible without the following open-source projects:
-
PlantUML: An open-source tool that allows users to create UML diagrams from a plain text language. We use PlantUML to convert the PlantUML syntax into a UML diagram image.
-
Java2PlantUML: An initial parser that provided the base code for parsing Java source code into PlantUML syntax. We built upon this initial code to develop our application.
This application was developed by Srijan Chaudhary. For any queries or feedback, please reach out to me at email.
This project is licensed under the terms of the MIT license.