Skip to content

YanickT/Code2UML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code2UML

Converts python code to .dot-code for simple UML diagrams representing the classes and their inheritance as well as module dependencies. An online version of graphviz can be found here and used to compile the .dot code.

Example 1

As an simple example the Code of the pyrror module was used. UML diagram of pyrror

from code2uml import Code2UML

path = "../Pyrror"
converter = Code2UML(path, ownmodule="pyrror", ignore=["setup.py", "gitignore", "test", "update", "constants.py"])
converter.export_dot("pyrror")

Example 2

A more complex example is the hypertiling package.

UML diagram of hypertiling

About

Converts python code to simple UML diagrams

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages