62 RelativeToDesiredLength,
69 using MultilevelLayoutModule::call;
MMM is a Multilevel Graph drawing Algorithm that can use different modules.
MLG is the main data structure for ModularMultilevelMixer.
Declaration of interface for layout algorithms that allow calls with a MultilevelGraph parameter (cla...
Stores additional attributes of a graph (like layout information).
Interface of general layout algorithms.
Modular multilevel graph layout.
Interface of general layout algorithms that also allow a MultilevelGraph as call parameter,...
Scales a graph layout and calls a secondary layout algorithm.
unsigned int m_layoutRepeats
void setMMM(ModularMultilevelMixer *mmm)
Is used to compute the scaling relatively to the level size change when ScalingType st_absolute is us...
ModularMultilevelMixer * m_mmm
Used to derive level size ratio if st_absolute.
void setScaling(double min, double max)
Sets the minimum and the maximum scaling factor.
ScalingType m_scalingType
void setSecondaryLayout(LayoutModule *layout)
Sets a LayoutModule that should be applied after scaling.
virtual void call(GraphAttributes &GA) override
Computes a layout of graph GA.
void setExtraScalingSteps(unsigned int steps)
Sets how often the scaling should be repeated.
void setDesiredEdgeLength(double eLength)
virtual void call(MultilevelGraph &MLG) override
Computes a layout of graph MLG.
void setLayoutRepeats(unsigned int repeats)
Sets how often the LayoutModule should be applied.
void setScalingType(ScalingType type)
Sets a ScalingType wich sets the relative scale for the Graph.
std::unique_ptr< LayoutModule > m_secondaryLayoutModule
unsigned int m_extraScalingSteps
ScalingType
To define the relative scale used for a Graph, the ScalingType is applied.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.