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
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.
-
ZorinOS 17.1 Released, Includes Improved Windows App Support
If you need or desire to run Windows applications on Linux, there's one distribution intent on making that easier for you and its new release further improves that feature.
-
Linux Market Share Surpasses 4% for the First Time
Look out Windows and macOS, Linux is on the rise and has even topped ChromeOS to become the fourth most widely used OS around the globe.
-
KDE’s Plasma 6 Officially Available
KDE’s Plasma 6.0 "Megarelease" has happened, and it's brimming with new features, polish, and performance.
-
Latest Version of Tails Unleashed
Tails 6.0 is based on Debian 12 and includes GNOME 43.
-
KDE Announces New Slimbook V with Plenty of Power and KDE’s Plasma 6
If you're a fan of KDE Plasma, you'll be thrilled to hear they've announced a new Slimbook with an AMD CPU and the latest version of KDE Plasma desktop.
-
Monthly Sponsorship Includes Early Access to elementary OS 8
If you want to get a glimpse of what's in the pipeline for elementary OS 8, just set up a monthly sponsorship to help fund its continued existence.