|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
46 class GraphAttributes;
60 : m_numberOfPivots(250)
63 , m_hasEdgeCostsAttribute(false)
64 , m_forcing2DLayout(false) { }
71 m_numberOfPivots = std::max(numberOfPivots, m_dimensionCount);
96 m_hasEdgeCostsAttribute = useEdgeCostsAttribute;
109 const static unsigned int SEED = 0;
double m_edgeCosts
The costs to traverse an edge.
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
int m_numberOfPivots
The number of pivots.
void setEdgeCosts(double edgeCosts)
Sets the desired distance between adjacent nodes. If the new value is smaller or equal 0 the default ...
Includes declaration of graph class.
TWeight infinity()
Helper function to get the maximum value for a given weight type.
int m_dimensionCount
The dimension count determines the number of evecs that will be computed. Nevertheless PivotMDS only ...
void setNumberOfPivots(int numberOfPivots)
Sets the number of pivots. If the new value is smaller or equal 0 the default value (250) is used.
bool m_hasEdgeCostsAttribute
Tells whether the pivot mds is based on uniform edge costs or a edge costs attribute.
bool useEdgeCostsAttribute() const
Declaration of interface for layout algorithms (class LayoutModule)
bool m_forcing2DLayout
Whether a 2D-layout is calculated even when GraphAttributes::threeD is set.
The Pivot MDS (multi-dimensional scaling) layout algorithm.
The parameterized class Array implements dynamic arrays of type E.
void setForcing2DLayout(bool forcing2DLayout)
Sets whether a 2D-layout should be calculated even when GraphAttributes::threeD is set.
const static double EPSILON
Convergence factor used for power iteration.
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
bool isForcing2DLayout() const
Returns whether a 2D-layout is calculated even when GraphAttributes::threeD is set.
void useEdgeCostsAttribute(bool useEdgeCostsAttribute)
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
const static double FACTOR
Factor used to center the pivot matrix.
Declaration and implementation of Array class and Array algorithms.
Class for the representation of nodes.
Interface of general layout algorithms.