65 EdgeData(
int edgeInd,
int sourceInd,
int targetInd,
double edgeWeight)
66 : edgeIndex(edgeInd), sourceIndex(sourceInd), targetIndex(targetInd), weight(edgeWeight) { }
87 using MultilevelLayoutModule::call;
Declaration of interface for layout algorithms (class LayoutModule)
Declaration of interface for layout algorithms that allow calls with a MultilevelGraph parameter (cla...
Basic declarations, included by all source files.
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 dynamic library (shared object / DLL),...
The namespace for all OGDF objects.
Deleted Edges are stored in EdgeData.
EdgeData(int edgeInd, int sourceInd, int targetInd, double edgeWeight)