UMLgui

version 1.2.0.0 (37.6 KB) by Ben Goddard
Allows automatic generation of UML class diagram

4.3K 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 (2022). 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

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