|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
50 class ClusterGraphAttributes;
51 class GraphAttributes;
53 class HierarchyLevelsBase;
170 class CrossMinMaster;
171 class CrossMinWorker;
261 int fails()
const {
return m_fails; }
264 void fails(
int nFails) { m_fails = nFails; }
274 int runs()
const {
return m_runs; }
277 void runs(
int nRuns) { m_runs = nRuns; }
289 void transpose(
bool bTranspose) { m_transpose = bTranspose; }
362 #ifndef OGDF_MEMORY_POOL_NTS
425 int numberOfCrossings()
const {
return m_nCrossings; }
442 int numCC()
const {
return m_numCC; };
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
bool m_transpose
Option for switching on transposal heuristic.
Includes declaration of graph class.
std::unique_ptr< CCLayoutPackModule > m_packer
The module for arranging connected components.
const EdgeArray< uint32_t > * subgraphs() const
Declaration of interface for ranking algorithms.
void alignSiblings(bool b)
Sets the option alignSiblings to b.
double minDistCC() const
Returns the current setting of option minDistCC (distance between components).
int numberOfLevels()
Return the number of layers/levels}.
double m_minDistCC
Option for distance between connected components.
Interface of hierarchy layout algorithms.
void fails(int nFails)
Sets the option fails to nFails.
int m_runs
Option for number of runs.
bool permuteFirst() const
bool alignBaseClasses() const
Returns the current setting of option alignBaseClasses.
Interface of hierarchy layout algorithms for cluster graphs.
Representation of proper hierarchies used by Sugiyama-layout.
int m_fails
Option for maximal number of fails.
std::unique_ptr< LayeredCrossMinModule > m_crossMin
the module for two-layer crossing minimization
Declaration of interface for layout algorithms (class LayoutModule)
void runs(int nRuns)
Sets the option runs to nRuns.
int runs() const
Returns the current setting of option runs.
Interface of algorithms for computing a node ranking.
bool useSubgraphs() const
Returns true iff subgraphs for simultaneous drawing are set.
Base class of algorithms that arrange/pack layouts of connected components.
int fails() const
Returns the current setting of option fails.
void arrangeCCs(bool bArrange)
Sets the options arrangeCCs to bArrange.
void alignBaseClasses(bool b)
Sets the option alignBaseClasses to b.
double m_pageRatio
Option for desired page ratio.
bool m_alignBaseClasses
Option for aligning base classes.
void transpose(bool bTranspose)
Sets the option transpose to bTranspose.
void setCrossMin(LayeredCrossMinModule *pCrossMin)
Sets the module option for the two-layer crossing minimization.
Stores additional attributes of a clustered graph (like layout information).
void setPacker(CCLayoutPackModule *pPacker)
Sets the module option for the arrangement of connected components.
std::unique_ptr< HierarchyLayoutModule > m_layout
the hierarchy layout module (final coordinate assignment)
double timeReduceCrossings()
Declaration of interface for two-layer crossing minimization algorithms.
EdgeArray< uint32_t > * m_subgraphs
Defines the subgraphs for simultaneous drawing.
std::unique_ptr< TwoLayerCrossMinSimDraw > m_crossMinSimDraw
void setLayout(HierarchyLayoutModule *pLayout)
Sets the module option for the computation of the final layout.
Declaration of interface for hierarchy layout algorithms (3. phase of Sugiyama) for cluster graphs.
Declaration of interface for algorithms that arrange/pack layouts of connected components.
unsigned int maxThreads() const
Returns the maximal number of used threads.
Declaration of interface for two-layer crossing minimization algorithms for Simultaneous Drawing.
RegisteredArray for nodes, edges and adjEntries of a graph.
std::unique_ptr< HierarchyClusterLayoutModule > m_clusterLayout
the hierarchy cluster layout module (final coordinate assignment for clustered graphs)
void minDistCC(double x)
Sets the option minDistCC to x.
bool transpose() const
Returns the current setting of option transpose.
bool arrangeCCs() const
Returns the current setting of option arrangeCCs.
Array< bool > m_levelChanged
void setSubgraphs(EdgeArray< uint32_t > *esg)
Sets the subgraphs for simultaneous drawing.
int maxLevelSize()
Return the max. number of elements on a layer.
unsigned int m_maxThreads
The maximal number of used threads.
void maxThreads(unsigned int n)
Sets the maximal number of used threads to n.
const NodeArray< int > & compGC() const
Sugiyama's layout algorithm.
bool m_alignSiblings
Option for aligning siblings in inheritance trees.
bool alignSiblings() const
Returns the current setting of option alignSiblings.
void pageRatio(double x)
Sets the option pageRatio to x.
Basic declarations, included by all source files.
void setRanking(RankingModule *pRanking)
Sets the module option for the node ranking (layer assignment).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
double m_timeReduceCrossings
Declaration of interface hierarchy layout algorithms (3. phase of Sugiyama).
int m_nCrossings
Number of crossings in computed layout.
Declaration and implementation of Array class and Array algorithms.
RCCrossings numberOfCrossingsCluster() const
Returns the number of crossings in the computed layout (cluster graph).
Interface of crossing minimization algorithms for layered graphs.
void permuteFirst(bool b)
void setClusterLayout(HierarchyClusterLayoutModule *pLayout)
Sets the module option for the computation of the final layout for clustered graphs.
RCCrossings m_nCrossingsCluster
bool m_arrangeCCs
Option for laying out components separately.
std::unique_ptr< RankingModule > m_ranking
the ranking module (level assignment)
Declaration of ExtendedNestingGraph.
double pageRatio() const
Returns the current setting of option pageRation.
NodeArray< int > m_compGC
Representation of proper hierarchies used by Sugiyama-layout.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
Interface of general layout algorithms.