UMLgui allows the automatic creation of UML class diagrams. Running UMLgui opens the gui. You can then use the four buttons under the main panel to add directories, or directories and their (recursive) subdirectories, as well as deleting selected directories, or clearing the whole list.
Various view options are available, the most significant being the Tree Layout, which is either `Aesthetic', producing a branching tree structure, or `Compact', which produces a much more compact but less visually appealing tree.
Clicking the `Create UML diagram' button creates both an eps and pdf file of the diagram. The output file can either be entered manually, or selected via a browser.
Support is included for classes with multiple superclasses, but due to the potential non-planar nature of the graph, all but the first superclass are joined to the class by straight arrows.
Two very basic examples included in /AnimalExample and /AnimalFruitExample (and subdirectories). The latter demonstrates support for packages.
It is also possible to create a script to bypass the gui; see makeAnimalDiagram.m and makeAnimalFruitDiagram.m for an examples.
Ben Goddard (2022). UMLgui (https://www.mathworks.com/matlabcentral/fileexchange/44742-umlgui), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!