Declaration of MultilevelBuilder.
Data type for general directed graphs (adjacency list representation).
Base class for merger modules.
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
The solar merger for multilevel layout.
bool collapseSolarSystem(MultilevelGraph &MLG, node sun, int level)
std::vector< node > selectSuns(MultilevelGraph &MLG)
int calcSystemMass(node v)
bool m_sunSelectionSimple
NodeArray< std::vector< PathData > > m_pathDistances
double distanceToSun(node object, MultilevelGraph &MLG)
void addPath(node sourceSun, node targetSun, double distance)
void findInterSystemPaths(Graph &G, MultilevelGraph &MLG)
bool buildOneLevel(MultilevelGraph &MLG) override
This method constructs one more level on top of an existing MultilevelGraph.
NodeArray< int > m_celestial
SolarMerger(bool simple=false, bool massAsNodeRadius=false)
std::map< int, std::map< int, PathData > > m_interSystemPaths
void buildAllLevels(MultilevelGraph &MLG) override
NodeArray< node > m_orbitalCenter
NodeArray< unsigned int > m_mass
NodeArray< double > m_distanceToOrbit
NodeArray< double > m_radius
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.
PathData(int targetSunParam=0, double len=0.0f, int num=0)