Skip to content

Instantly share code, notes, and snippets.

View unameit10000000's full-sized avatar
🧪
`'-.__

Bartolomeo unameit10000000

🧪
`'-.__
View GitHub Profile
@unameit10000000
unameit10000000 / Instructions_UML_Python.rst
Created February 14, 2024 07:27 — forked from carlosal1015/Instructions_UML_Python.rst
Generating UML diagrams in python using pyreverse

Requirements

  1. Install Pylint from Install. If you have anaconda already installed use pip install -U pylint to update the Pylint so that pyreverse is added to the scripts folder.
  2. You need to install Graphviz as the pyreverse generates the UML diagrams in dot format and needs the dot.exe provided by Graphviz. Once Graphviz is installed make sure the bin folder is added to the PATH variable so that pyreverse can find it at run time. "the command pyreverse generates the diagrams in all formats that graphviz/dot knows." (Reference
  3. Now add the path of python modules for which you want to generate the documentation to PYTHONPATH.
  4. Use pyreverse -S <modulename> to generate dot files in the current folder

    Usage: