Open
Description
Class diagrams are really useful for people who will be contributing to the project. They will also help people who know how to program know what classes and methods are available.
If you have pylint installed, it comes with pyreverse
to generate the class diagram make sure you have mesa
installed (e.g., via pip
)
go into the base mesa folder (e.g. /home/dchen/git/forks/mesa
) and run:
pyreverse -o png -p mesa mesa
It will call pyreverse, create a png file, using the package mesa, and look in the mesa directory for all the files.
It will generate something like below:
You will need to add the following files to .gitignore
:
classes_mesa.png
packages_mesa.png