Dot to GDL Converter
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.
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
Changes |
※ |