6 * $Date: 2012-07-02 20:59:27 +0200 (Mon, 02 Jul 2012) $
7 ***************************************************************/
10 * \brief useable example of the Modular Multilevel Mixer
12 * \author Gereon Bartel
15 * This file is part of the Open Graph Drawing Framework (OGDF).
19 * See README.txt in the root directory of the OGDF installation for details.
22 * This program is free software; you can redistribute it and/or
23 * modify it under the terms of the GNU General Public License
24 * Version 2 or 3 as published by the Free Software Foundation;
25 * see the file LICENSE.txt included in the packaging of this file
29 * This program is distributed in the hope that it will be useful,
30 * but WITHOUT ANY WARRANTY; without even the implied warranty of
31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32 * GNU General Public License for more details.
35 * You should have received a copy of the GNU General Public
36 * License along with this program; if not, write to the Free
37 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
38 * Boston, MA 02110-1301, USA.
40 * \see http://www.gnu.org/copyleft/gpl.html
41 ***************************************************************/
47 #ifndef OGDF_MMM_EXAMPLE_FAST_LAYOUT_H
48 #define OGDF_MMM_EXAMPLE_FAST_LAYOUT_H
50 #include <ogdf/module/LayoutModule.h>
51 #include <ogdf/internal/energybased/MultilevelGraph.h>
55 /** \brief An example Layout using the Modular Mutlievel Mixer
57 * This example is tuned for speed. SolarMerger and SolarPlacer are used as
58 * merging and placement strategies. The FastMultipoleEmbedder is for force
61 * For an easy variation of the Modular Multilevel Mixer copy the code in call.
63 class OGDF_EXPORT MMMExampleFastLayout
: public LayoutModule
68 MMMExampleFastLayout();
70 //! calculates a drawing for the Graph GA
71 void call(GraphAttributes
&GA
);
73 //! calculates a drawing for the Graph MLG
74 void call(MultilevelGraph
&MLG
);