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