12.9 C
Texas
angeloma
Senior Writer and partner

Some Programs to make UML diagrams in Linux?

UML is a graphical language for visualizing, specifying, constructing, and documenting a system. It offers a standard for describing a “blueprint” of the system (model), including conceptual aspects such as processes, system functions, and concrete aspects such as expressions of programming languages, database schemas, and recycled compounds. ML has several types of diagrams, which show different aspects of the represented entities. With this in mind, it is possible to use efficient tools to make UML diagrams on Linux systems.

Many options to make UML diagrams in Linux

Linux is a very versatile operating system, in which you can find tools for almost anything. That’s why we can locate many programs to use. in other words, Linux is good for almost anything. In the case of UML is not the exception you can find some as:

DIA

Dia is an application for creating technical diagrams. Its interface and features are loosely patterned after the Windows program Visio. Features of Dia include multiple-page printing, export to many formats (EPS, SVG, CGM and PNG), and the ability to use custom shapes created by the user as simple XML descriptions. With this in mind, Dia is useful for drawing UML diagrams, network maps, and flowcharts.

1.- Dia Logo.
1.- Dia Logo.

- Advertisement -

Dia is available in the main repositories of the large Linux distributions, facilitating the installation process.

If you use Debian, Ubuntu or their derivatives:

:~$ sudo apt install dia

For Fedora:

:~$ sudo dnf install dia

If you use OpenSUSE:

:~$ sudo zypper in dia

Or if you use ArchLinux or derivatives:

:~$ sudo pacman -S dia

Its interface is simple, you just have to search in the category to UML and start drawing.

2.- Searching for UML category
2.- Searching for UML category

Now, for example, add an actor and a case of any use.

3.- Using Dia Diagram
3.- Making UML Diagrams with Dia

You can export it in different formats, such as PDF and JPG.

ArgoUML

ArgoUML is a UML diagramming application written in Java and published under the EPL License. Since it is a Java application, it is available on any platform supported by Java. To put it differently, you can use it on any Linux distribution and even on Windows or Mac. First, go to the downloads page:

ArgoUML website
ArgoUML website

Once downloaded, you must unzip it. And run it as another Java application. Type:

:~$ java -jar PATH_FILE.jar
:~$ java -jar argouml.jar

4.- Running a .jar file. ArgoUML
4.- Running a .jar file. ArgoUML

When you load the application, you will see the following:

5.- Main Window of ArgoUML
5.- Main Window of ArgoUML

As you can see there are lots of options for diagramming. I’ll make a class for you to see how it looks like.

6.- A simple "class diagram".
6.- A simple “class diagram”.

It is also possible to display the code generated from the diagram. It supports C++, Java among others.

7.- Showing code generation on ArgoUML
7.- Showing code generation on ArgoUML

Like Dia, it is possible to print the diagram or export it as an image.

StarUML

StarUML is for many the most suitable option to work with UML diagrams. It is a powerful open source and multiplatform application with the goal of being a sophisticated software modeler for agile and concise modeling.

I must confess that it is my favorite application when I have to make a UML diagram, due to its flexibility and its many available options.

Supports code generation and reverse engineering for major programming languages including Java, C#, and C++ via open source extensions.

Its installation is very simple, go to its website and download it in appimage format.

9.- StarUML website
9.- StarUML website

Give him execution permission and run it with a double click.

:~$ chmod +x Downloads/StarUML-3.0.2-x86_64.AppImage

Once you start the application you will see something like this.

10.- Main screen of StartUML
10.- Main screen of StartUML

On the right side, by clicking the secondary mouse button, you can add a new diagram. I will make the class diagram.

11.- Making a Class Diagram with StartUML
11.- Making a Class Diagram with StartUML

As you can see, on the left side, you have the controls with which you can continue creating the diagram. For example, Association, aggregation, composition, dependency among others.

In conclusion, we can say that there are many professional tools to make UML diagrams in Linux. It’s up to you to choose the one that best suits your needs.

Tell us, which of these tools do you use?

Please share this article with your friends.

 

- Advertisement -
Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

LEAVE A REPLY

Please enter your comment!
Please enter your name here



Latest article