81 using MultilevelLayoutModule::call;
Declaration of interface for layout algorithms that allow calls with a MultilevelGraph parameter (cla...
Stores additional attributes of a graph (like layout information).
Data type for general directed graphs (adjacency list representation).
Interface of general layout algorithms.
Interface of general layout algorithms that also allow a MultilevelGraph as call parameter,...
The PreprocessorLayout removes multi-edges and self-loops.
PreprocessorLayout()
Constructor.
void setRandomizePositions(bool on)
Defines whether the positions of the node are randomized before the secondary layout call.
std::vector< EdgeData > m_deletedEdges
void call(Graph &G, MultilevelGraph &MLG)
std::unique_ptr< LayoutModule > m_secondaryLayout
~PreprocessorLayout()
Destructor.
void setLayoutModule(LayoutModule *layout)
Sets the secondary layout.
virtual void call(MultilevelGraph &MLG) override
Calculates a drawing for the Graph MLG.
virtual void call(GraphAttributes &GA) override
Calculates a drawing for the Graph GA.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.
Deleted Edges are stored in EdgeData.
EdgeData(int edgeInd, int sourceInd, int targetInd, double edgeWeight)