Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf::MMMExampleNoTwistLayout Class Reference

An example Layout using the Modular Mutlievel Mixer. More...

#include <ogdf/energybased/multilevel_mixer/MMMExampleNoTwistLayout.h>

+ Inheritance diagram for ogdf::MMMExampleNoTwistLayout:

Public Member Functions

 MMMExampleNoTwistLayout ()
 Constructor. More...
 
void call (GraphAttributes &GA) override
 calculates a drawing for the Graph GA More...
 
void call (MultilevelGraph &MLG)
 calculates a drawing for the Graph MLG More...
 
- Public Member Functions inherited from ogdf::LayoutModule
 LayoutModule ()
 Initializes a layout module. More...
 
virtual ~LayoutModule ()
 
void operator() (GraphAttributes &GA)
 Computes a layout of graph GA. More...
 

Detailed Description

An example Layout using the Modular Mutlievel Mixer.

This example is tuned to reduce twists in the final drawing. Use this layout or a variation of it if many twists occur. LocalBiconnectedMerger and BarycenterPlacer are used as merging and placement strategies. The FastMultipoleEmbedder is for force calculation.

For an easy variation of the Modular Multilevel Mixer copy the code in call.

Definition at line 48 of file MMMExampleNoTwistLayout.h.

Constructor & Destructor Documentation

◆ MMMExampleNoTwistLayout()

ogdf::MMMExampleNoTwistLayout::MMMExampleNoTwistLayout ( )

Constructor.

Member Function Documentation

◆ call() [1/2]

void ogdf::MMMExampleNoTwistLayout::call ( GraphAttributes &  GA)
overridevirtual

calculates a drawing for the Graph GA

Implements ogdf::LayoutModule.

◆ call() [2/2]

void ogdf::MMMExampleNoTwistLayout::call ( MultilevelGraph &  MLG)

calculates a drawing for the Graph MLG


The documentation for this class was generated from the following file: