Dot to GDL Converter


Sample graph converted to GDL

This is a C++ program that converts GraphViz .dot files into aiSee .gdl files.

Note that the conversion is highly non-trivial due to some totally different concepts of specifying graphs. Therefore, this program is far from complete. Many files already convert nicely, however.

Sample graph converted to GDL


Example of Usage

The graph above was converted with a somewhat lengthy command that sets a few layout parameters to make the graph look nice. It converted the top right graph on this page.

dot2gdl softmaint.dot softmaint.gdl \
          --layout-algorithm forcedir \
          --gravity 0.0 --repulsion 30 --attraction 140 \
          --magnetic-field1 polar --magnetic-field2 no \
          --shape2color circle  red \
          --shape2color ellipse green

Download

Source Code

dot2gdl-0.1.80067.tgz
dot2gdl-0.1.80067.tgz.md5

LibError is required for compilation:

liberror-2.1.89882.tgz
liberror-2.1.89882.tgz.md5


Changes

Content

Index

January 17th, 2023
Comments? Suggestions? Corrections? You can drop me a line.
zpentrabvagiktu@theiling.de
Schwerpunktpraxis
Datenschutz