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
-
New Slimbook EVO with Raw AMD Ryzen Power
If you're looking for serious power in a 14" ultrabook that is powered by Linux, Slimbook has just the thing for you.
-
The Gnome Foundation Struggling to Stay Afloat
The foundation behind the Gnome desktop environment is having to go through some serious belt-tightening due to continued financial problems.
-
Thousands of Linux Servers Infected with Stealth Malware Since 2021
Perfctl is capable of remaining undetected, which makes it dangerous and hard to mitigate.
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.