UMLgui

Allows automatic generation of UML class diagram
4.5K Downloads
Updated 21 Mar 2020

View License

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.

Cite As

Ben Goddard (2024). UMLgui (https://www.mathworks.com/matlabcentral/fileexchange/44742-umlgui), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Class Introspection and Metadata in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

UMLgui_1_2

UMLgui_1_2/AnimalExample

UMLgui_1_2/AnimalExample/Birds

UMLgui_1_2/AnimalExample/Mammals

UMLgui_1_2/AnimalFruitExample

UMLgui_1_2/AnimalFruitExample/+fruit

UMLgui_1_2/AnimalFruitExample/Birds

UMLgui_1_2/AnimalFruitExample/Mammals

Version Published Release Notes
1.2.0.0

Added support for packages;
Fixed issue with subclasses.
Thanks to Todd Velde.

1.1.0.0

Version 1.1: Thanks to a very helpful suggestion, now ignores .git folders.

1.0.0.0