The fast multipole multilevel embedder approach for force-directed multilevel layout.
More...
#include <ogdf/energybased/FastMultipoleEmbedder.h>
The fast multipole multilevel embedder approach for force-directed multilevel layout.
Definition at line 144 of file FastMultipoleEmbedder.h.
◆ GalaxyMultilevel
◆ GalaxyMultilevelBuilder
◆ FastMultipoleMultilevelEmbedder()
ogdf::FastMultipoleMultilevelEmbedder::FastMultipoleMultilevelEmbedder |
( |
| ) |
|
|
inline |
◆ assignPositionsFromPrevLevel()
void ogdf::FastMultipoleMultilevelEmbedder::assignPositionsFromPrevLevel |
( |
| ) |
|
|
private |
assigns the nodes in the current level coords by coarser level
◆ call()
Calls the algorithm for graph GA
and returns the layout information in GA
.
Implements ogdf::LayoutModule.
◆ computeAutoEdgeLength()
void ogdf::FastMultipoleMultilevelEmbedder::computeAutoEdgeLength |
( |
const GraphAttributes & |
GA, |
|
|
EdgeArray< float > & |
edgeLength, |
|
|
float |
factor = 1.0f |
|
) |
| |
|
private |
internal function to compute a good edgelength
◆ createMultiLevelGraphs()
void ogdf::FastMultipoleMultilevelEmbedder::createMultiLevelGraphs |
( |
Graph * |
pGraph, |
|
|
GraphAttributes & |
GA, |
|
|
const EdgeArray< float > & |
edgeLength |
|
) |
| |
|
private |
◆ deleteMultiLevelGraphs()
void ogdf::FastMultipoleMultilevelEmbedder::deleteMultiLevelGraphs |
( |
| ) |
|
|
private |
clean up the multilevel graphs
◆ dumpCurrentLevel()
void ogdf::FastMultipoleMultilevelEmbedder::dumpCurrentLevel |
( |
const char * |
filename | ) |
|
|
private |
◆ initCurrentLevel()
void ogdf::FastMultipoleMultilevelEmbedder::initCurrentLevel |
( |
| ) |
|
|
private |
initialize datastructure by current level
◆ initFinestLevel()
void ogdf::FastMultipoleMultilevelEmbedder::initFinestLevel |
( |
GraphAttributes & |
GA, |
|
|
const EdgeArray< float > & |
edgeLength |
|
) |
| |
|
private |
init the original graphs multilevel
◆ layoutCurrentLevel()
void ogdf::FastMultipoleMultilevelEmbedder::layoutCurrentLevel |
( |
| ) |
|
|
private |
calls the fast multipole embedder on current level
◆ maxNumThreads()
void ogdf::FastMultipoleMultilevelEmbedder::maxNumThreads |
( |
int |
numThreads | ) |
|
|
inline |
◆ multilevelUntilNumNodesAreLess()
void ogdf::FastMultipoleMultilevelEmbedder::multilevelUntilNumNodesAreLess |
( |
int |
nodesBound | ) |
|
|
inline |
◆ nextLevel()
void ogdf::FastMultipoleMultilevelEmbedder::nextLevel |
( |
| ) |
|
|
private |
◆ numberOfIterationsByLevelNr()
uint32_t ogdf::FastMultipoleMultilevelEmbedder::numberOfIterationsByLevelNr |
( |
uint32_t |
levelNr | ) |
|
|
private |
computes the maximum number of iterations by level nr
◆ run()
internal main function for the multilevel layout
◆ writeCurrentToGraphAttributes()
void ogdf::FastMultipoleMultilevelEmbedder::writeCurrentToGraphAttributes |
( |
GraphAttributes & |
GA | ) |
|
|
private |
writes the current level to graph attributes. used for output
◆ m_adjustedNodeSize
NodeArray<float> ogdf::FastMultipoleMultilevelEmbedder::m_adjustedNodeSize |
|
private |
◆ m_iCurrentLevelNr
int ogdf::FastMultipoleMultilevelEmbedder::m_iCurrentLevelNr |
|
private |
◆ m_iMaxNumThreads
int ogdf::FastMultipoleMultilevelEmbedder::m_iMaxNumThreads |
|
private |
◆ m_iNumLevels
int ogdf::FastMultipoleMultilevelEmbedder::m_iNumLevels |
|
private |
◆ m_multiLevelNumNodesBound
int ogdf::FastMultipoleMultilevelEmbedder::m_multiLevelNumNodesBound |
|
private |
◆ m_pCoarsestLevel
GalaxyMultilevel* ogdf::FastMultipoleMultilevelEmbedder::m_pCoarsestLevel = nullptr |
|
private |
◆ m_pCurrentEdgeLength
EdgeArray<float>* ogdf::FastMultipoleMultilevelEmbedder::m_pCurrentEdgeLength = nullptr |
|
private |
◆ m_pCurrentGraph
Graph* ogdf::FastMultipoleMultilevelEmbedder::m_pCurrentGraph = nullptr |
|
private |
◆ m_pCurrentLevel
GalaxyMultilevel* ogdf::FastMultipoleMultilevelEmbedder::m_pCurrentLevel = nullptr |
|
private |
◆ m_pCurrentNodeSize
NodeArray<float>* ogdf::FastMultipoleMultilevelEmbedder::m_pCurrentNodeSize = nullptr |
|
private |
◆ m_pCurrentNodeXPos
NodeArray<float>* ogdf::FastMultipoleMultilevelEmbedder::m_pCurrentNodeXPos = nullptr |
|
private |
◆ m_pCurrentNodeYPos
NodeArray<float>* ogdf::FastMultipoleMultilevelEmbedder::m_pCurrentNodeYPos = nullptr |
|
private |
◆ m_pFinestLevel
GalaxyMultilevel* ogdf::FastMultipoleMultilevelEmbedder::m_pFinestLevel = nullptr |
|
private |
◆ m_pLastNodeXPos
NodeArray<float>* ogdf::FastMultipoleMultilevelEmbedder::m_pLastNodeXPos = nullptr |
|
private |
◆ m_pLastNodeYPos
NodeArray<float>* ogdf::FastMultipoleMultilevelEmbedder::m_pLastNodeYPos = nullptr |
|
private |
The documentation for this class was generated from the following file: