Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

yEd on Linux extremely slow

0 votes
I'm trying to use yEd 3.19 on Debian Linux with Java 11.0.2 included in the installer. But editing a large graph is really slow. How can I increase the performance?

Some data About:

Version 3.19 Powered by the yFiles Graph Visualization Library http://www.yWorks.com Copyright 2000-2019 yWorks GmbH. All Rights Reserved.  Java Version: 11.0.2 Java VM: OpenJDK 64-Bit Server VM, Oracle Corporation

Memory usage: 230MB / 1.9GB

If another data is needed please contact me. Thanks.
asked Jun 23 in Help by anonymous

2 Answers

0 votes
For large graphs, the performance bottleneck is usually rendering. To improve rendering speed, you can try to use simple shapes (i.e. rectangles only) and display as little text as possible (text rendering is horrendously slow). With regards to the latter point, yEd offers a feature called "Paint Details Threshold" (see "File" -> "Preferences", tab "Display"). If you increase the value of the threshold to something close to 1.0, then text will only be shown at fairly large zoom levels (which implies few visible elements) and will not affect rendering performance as much.

Can you quantify "large graph"? How many nodes and edges are there in your graph?
answered Jun 24 by thomas.behr [yWorks] (122,590 points)
edited Jun 24 by thomas.behr
0 votes
Try to turn off the antialiasing function in File -> Preferences -> Display -> Antialiasing.

After clicking apply there was an immediate difference for me without changing any other settings.
answered Jun 24 by anonymous
This worked for me too.
But the image quality is very bad on Ubuntu.
Perhaps there is something I can configure in the OS to get it back?
Imprint | Privacy Policy