UML Diagram using pyreverse for python repository

Ganesh AlalaSundaram
1 min readApr 30, 2019

The tool creates a UML class diagram for the python repository. Pyreverse is a part of pylint, which is a static code analysis tool. Graphviz is a tool to visualize or render graphs. Pydot converts the dot file to any formattable output.

Prerequisite

pip install pylint, pip install graphviz, pip install pydot

Steps

1. pyreverse <<location of the python repo>>. The output of the command will create a *.dot file.

2. dot -Tpng classes.dot > abc.png. This command converts the dot file to png format.

Docs for reference.

--

--