/unified-modeling-language

Playground for UML

Primary LanguagePythonMIT LicenseMIT

Unified Modeling Language

This repository is playground for UML.

Install Dependencies

sudo apt update
sudo apt upgrade
sudo apt install pylint3
pip3 install playsound

Install UML Tools Under Ubuntu/Debian

  • Visual Studio Code
wget https://go.microsoft.com/fwlink/?LinkID=760868 -O code-amd64.deb
sudo apt install ./code-amd64.deb
  • diagrams.net
wget https://github.com/jgraph/drawio-desktop/releases/download/v20.8.16/drawio-amd64-20.8.16.deb \
    -O drawio-amd64.deb
sudo apt install drawio-amd64.deb

Download Repository And Run Oven Model Example

git clone https://github.com/marcin-sielski/unified-modeling-language.git
cd unified-modeling-language
python3 oven/src/oven.py

Generate UML Class Diagrams From Source Code

cd oven/doc && pyreverse3 -o oven.png ../src/oven.py && cd ../.. && \
    convert -negate oven/doc/classes.oven.png oven/doc/negative.classes.oven.png

Oven Documentation

Oven UML diagrams

Oven UML class diagrams

License

MIT License

Copyright (c) 2023 Marcin Sielski marcin.sielski@gmail.com