OGDF is a self-contained C++ class library for the automatic layout of diagrams.