Dealing With Large Graphs in yEd
Applies to: yEd 3.5, 3.4, 3.3, 3.2, 3.1, 3.0 print article email article

Type: Tips & Tricks

Categories this article belongs to:
yEd

Using the right set of options for yEd's preferences pushes the user experience even for the largest graphs.

Dealing with large graphs (say, more than 10,000 nodes) often calls for a degradation in application response time. If you want to work with such data sets in yEd, and want to maintain your user experience even for the largest graphs, then be sure to have the following settings in your yEd preferences.

On the "General" tab:

  • decrease the undo depth to 0 (zero)
  • disable animated zooming

On the "Display" tab:

  • disable anti-aliasing
  • increase the value for details threshold (to a value of 2.0, for instance) [see explanations below]

On the "Modules" tab:

  • disable layout morphing

Attached you will find a yEd settings file , that has the described options already set. To use it, simply move the file to the .yed3 directory in your home directory (on UNIX-like operating systems) and then start yEd.

Explanations

Increasing the value for details threshold to a value of 2.0, for instance, means that (among other things) node and edge labels are not drawn until the graph is displayed at zoom level 2.0 (a.k.a. 200%) or higher. This leads to lesser objects to be drawn and hence increases drawing speed.


Keywords: large - graphs - drawing - speed - preferences - settings - details - threshold

Provide feedback:
How useful was this article?    less 1 2 3 4 5 more
Email address (optional):
COPYRIGHT © 2012 yWorks · ALL RIGHTS RESERVED imprint | terms of use | privacy policy | home