Skip to content

DrawToCode receives an UML diagram from Draw.io and generates code from it.

License

Notifications You must be signed in to change notification settings

CoffeeOverflow/DrawToCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DrawToCode

DrawToCode receives an UML diagram from Draw.io and makes code from it.

Getting Started

We don't have the intent to cover all Draw.io features and all programming languages, to know what you can use, go to the Wiki.

Programming Languages Accepted

  • Python
  • Java

You can add another language by following the instructions on the Wiki.

Prerequisites

  • Python 3.6.7+

Install required packages by:

pip install -r requirements.txt

Usage

python main.py --help

Example

python main.py --xml_file=orc.xml --code_path=/tmp/orc/ --language=python

Running the Tests

pytest-3 tests/

Show Coverage

pytest-3 --cov=src/ tests/

Contributing

Feel free to fork the project, we do not have the intent to close issues or accept pull requests.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

This repository was developed as the final project of the Project Analysis and Design course, with the guidance of Gustavo Pinto, a professor at the Federal University of Pará. Click here to see the project presentation.

UFPA

About

DrawToCode receives an UML diagram from Draw.io and generates code from it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •