|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
43 class GraphAttributes;
44 class MultilevelGraph;
65 EdgeData(
int edgeInd,
int sourceInd,
int targetInd,
double edgeWeight)
66 : edgeIndex(edgeInd), sourceIndex(sourceInd), targetIndex(targetInd), weight(edgeWeight) { }
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
The PreprocessorLayout removes multi-edges and self-loops.
Declaration of interface for layout algorithms (class LayoutModule)
Deleted Edges are stored in EdgeData.
void setRandomizePositions(bool on)
Defines whether the positions of the node are randomized before the secondary layout call.
virtual void call(GraphAttributes &GA) override=0
Computes a layout of graph GA.
Declaration of interface for layout algorithms that allow calls with a MultilevelGraph parameter (cla...
Data type for general directed graphs (adjacency list representation).
void setLayoutModule(LayoutModule *layout)
Sets the secondary layout.
Interface of general layout algorithms that also allow a MultilevelGraph as call parameter,...
std::vector< EdgeData > m_deletedEdges
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
EdgeData(int edgeInd, int sourceInd, int targetInd, double edgeWeight)
~PreprocessorLayout()
Destructor.
std::unique_ptr< LayoutModule > m_secondaryLayout
Interface of general layout algorithms.