from data provided by the user, the application is able to create and organize a UML activity diagram
- you must clone the project, and download the necessary libraries on your computer (see install chapter).
- fill in the data at your disposal in the dictionary found in utils.py
- run a python server and connect to 127.0.0.1:5000 URL
- Click on generate the diagram
Launch a python server:
python run.py
install the necessary library
- pip install flask
- pip install xlrd
- pip install turtle
- pip install svgwrite
The application works with python and the flask micro-framework. Turtle.py is used for drawing, and SVGwrite is used for exporting drawings to SVG, which will be displayed on web templates.
- The data to transform and draw, are in utils.py
- Diagram.py takes care of formatting the data
- Draw.py takes care of drawing the shapes, according to the data transmitted by diagram.py
- views.py is the application routing file
- base.html/index.html/result.html are template files, no algorithmic element at this
- the generated SVG can be found in static/img/
- run.py is the entry point of the application
