OGDF for QML
The Open Graph Drawing Framework offers sophisticated algorithms and data structures for the automatic layout of diagrams. Some parts of OGDF are experimental and unstable, so don't expect all algorithms to work equally well.
- A wide range of layout algorithms such as
- Orthogonal and polyline layouts
- Multilevel layouts
- Energy-based layouts
- Upward layouts
- Planar layouts
- Tree layouts
- Various generators for
- Random graphs
- Random trees
- Random hierarchies
- Easy to use - it's QML after all
Once build, you can start
ogdf-demo to find out what algorithms are available and how you want to use them to solve your problem.
To use the plug-in in your own project, you need to compile an
OGDF directory and copy it to your application's working directory as follows:
OGDF/ -- plug-in directory libogdfplugin.so -- compiled plug-in (Linux only) libogdfplugin.dylib -- compiled plug-in (OS X only) ogdfplugin.dll -- compiled plug-in (Windows only) qmldir -- module definition file
Here are some quick links to help you get started:
Note: OGDF is licensed under the GNU General Public License Version 2.0 or Version 3.0. They kindly grand an exception to compile OGDF into this software and distribute it under weaker terms to prevent you from having legal issues when using this plug-in.