Convert data to diagrams with yEd
Loud and Clear
Build complex data structures into simple but illuminating diagrams using the yEd graph editor.
Diagrams and images liven up dry talks and lectures, but some find it difficult to design drawings and graphs with popular office suites. The yEd graph editor [1] makes this process much easier and faster.
Getting Started
The yEd installer is actually a shell script Because the script itself ensures that the required run-time environment is in place, the system has no additional dependencies. To install the program, pop up a terminal window, change to the directory with the script, and type the command
$ bash yEd-3.14.1_64-bit_setup.sh
where the name depends on the version you downloaded. This command launches the graphical installer (Figure 1). After presenting the proprietary freeware license, the routine prompts you for the path of the installation, the default directory being /home/<user>/yEd
. Although the software does not create a launcher in the start menu of the desktop environment, it does offer to create one on the desktop. If this is not done automatically, copy the file yEd graph Editor.desktop
from the program directory to the desktop.
First Launch
A small dialog covers the main window at startup time. In this window, select whether you want to create a new document or open an existing one (or one of the examples). If you do not want to see this dialog on future launches, uncheck the box next to Show at startup.
After selecting a function for editing, you will find a large area at the center of the main window in which you can create or edit a diagram. On the right, the Palette section groups different symbols; below this, the Properties View window gives you quantitative information about the diagram currently being processed.
On the left, after creating a graphic, you will find statistical information below Overview and Neighborhood. Additionally, the program window includes a horizontal bar with buttons at the top, offering quick access to important functions. Above this is a traditional menubar.
To create a first diagram, select topically organized symbols from a large palette. The application offers not only geometric shapes but also IT symbols and tables: Simply drag the desired symbol while holding down the left mouse button into the pane in the middle, and drop it there. If you want to remove a symbol from the diagram, right-click with the mouse, and in the context menu, select Delete.
You can change each symbol in terms of size and proportions. Left-click on the element in question to do so. The software displays several boundaries around the symbol and in the corners. You can use the mouse to move them if necessary; this also modifies the element's size at the same time.
Properly Connected
Depending on the direction, the software adjusts the entire size of the symbol in the horizontal or vertical direction. After drawing and possibly modifying the symbols in the workspace, you can connect them in the next step. To help you with this, yEd, provides a number of lines in the Edge Types tab.
You can set the starting point of the line by dragging one of the entries onto one of the icons in the workspace using the left mouse button. Then, drag the line to the end point above the desired symbol. If you discover that you have drawn a line incorrectly, highlight it by clicking with the mouse; the line is highlighted in yellow. A click on the Delete entry in the context menu which then appears removes the element from the diagram (Figure 2).
Special formatting of the links lets you show relationships between two or more elements. To do this, select the line to be edited with the right mouse button and then select the Properties item in the context menu that appears.
You can now set the attributes for the line in the Properties window, such as its thickness, or arrows at the tips. To better highlight a connection, you can also change the color of the line in this dialog as needed. An input field also lets you add short notes that you can freely place next to the line.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.