Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Panelnote
titleProject OverviewLegacy Project

KEG is not maintained anymore and hence not part of any release. To test layout algorithms, we now use the KGraph Text Editor with KLighD.

Panel
borderStyledashed
titleProject Overview

Responsible:

Related Theses:

  • Martin Rieß, A Graph Editor for Algorithm Engineering, September 2010 (pdf)

...

To start using the editor create a new KEG Diagram with the appropriate wizard. This will automatically open a new diagram editor and create the two required files: the *.keg file containing the KEG model and the *.kegdi file containing the GMF notation model, that is a GMF specific model to hold information about the layout of the diagram and the linkage of diagram elements to model elements.

Tip
titleCreate an empty graph

File New Other... → KIELER → KEG Diagram

Random Graph Creation

An alternative to starting with an empty diagram is the random graph wizard, which allows the user to generate a KEG graph utilizing one of several configurable creation algorithms. The used algorithm determines the general structure of the generated graph:

...

For all selected algorithms the number of nodes in the generated graph has to be specified, and in most cases the number of edges can be specified directly. The implemented graph creation algorithms are based upon the implementations found in the OGDF library.

Tip
titleCreate a random graph

File → New → Other... → KIELER → Random KEG Graph

Importing Graphs

There are many use-cases in which it is not required or desired to construct a graph by hand or generating a random graph, because a preexisting graph library fulfills all required criteria. In this cases importing those graph files is the best solution. The graph import wizard provided by KEG can import from the following graph formats:

Note that in some cases the interpretation of values in those models is not clearly specified and can differ in other implementations.

Tip
titleImport an existing graph

File → Import... → KIELER → Graphs to KEG Graphs

Exporting Graphs

Graphs created with KEG can be exported to different formats (a list is shown on the generated layout web service page).

Tip
titleExport a KEG graph

File → Export... → KIELER → Export Graph

Automatic Layout

The layout algorithms provided by the Layout project can be applied to KEG diagrams using the KIML user interface. The KEG editor is a good choice for testing these algorithms.

Tip
titleInvoke automatic layout

Hit first Ctrl + R, then L (on MacOS: Cmd + R, then L)

Graph Analysis

KIML provides various graph analysis algorithms for obtaining information on the structure and the drawing of a graph. This can also be applied in batch mode in order to analyze a large number of graphs.