I am looking for a way to generate UML diagrams from a Django application Model
structure.
Epydoc doesn't work with Django models because it needs django's settings.py to be imported and manage.py graph_models
generates unreadable output, not easily parsable and hard to convert to UML.
Is there any tool avaialble to do that?
View UML class diagramIn the Project tool window, right-click an item for which you want to create a diagram and select Diagrams | Show Diagram Ctrl+Alt+Shift+U ). In the list that opens, select Python Class Diagram. PyCharm generates a UML diagram for classes and their dependencies.
You can create UML project for any of your Java project in Eclipse.
The Unified Modeling Language (UML) is a graphical notation that provides a standard for depicting classes and the relationships between them.
There is a graph tool in django_extensions app. Precisely this one http://code.google.com/p/django-command-extensions/wiki/GraphModels
# Create a PNG image file called my_project_visualized.png with application grouping
$ ./manage.py graph_models -a -g -o my_project_visualized.png
pyreverse which is now a part of pylint creates reasonable UML documents.
pyreverse -o pdf project_name/models.py -p project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With