Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

The circle placer for multilevel layout. More...

#include <ogdf/energybased/multilevel_mixer/CirclePlacer.h>

+ Inheritance diagram for ogdf::CirclePlacer:

Public Types

enum  NodeSelection { NodeSelection::New, NodeSelection::Old, NodeSelection::All }
 

Public Member Functions

 CirclePlacer ()
 
void placeOneLevel (MultilevelGraph &MLG) override
 
void setCircleSize (float sizeIncrease)
 
void setNodeSelection (NodeSelection nodeSel)
 
void setRadiusFixed (bool fixed)
 
- Public Member Functions inherited from ogdf::InitialPlacer
 InitialPlacer ()
 
virtual ~InitialPlacer ()
 
void setRandomOffset (bool on)
 

Private Attributes

float m_circleSize
 
bool m_fixedRadius
 
NodeSelection m_nodeSelection
 

Additional Inherited Members

- Protected Attributes inherited from ogdf::InitialPlacer
bool m_randomOffset
 

Detailed Description

The circle placer for multilevel layout.

Definition at line 44 of file CirclePlacer.h.

Member Enumeration Documentation

◆ NodeSelection

Enumerator
New 
Old 
All 

Definition at line 46 of file CirclePlacer.h.

Constructor & Destructor Documentation

◆ CirclePlacer()

ogdf::CirclePlacer::CirclePlacer ( )

Member Function Documentation

◆ placeOneLevel()

void ogdf::CirclePlacer::placeOneLevel ( MultilevelGraph MLG)
overridevirtual

Implements ogdf::InitialPlacer.

◆ setCircleSize()

void ogdf::CirclePlacer::setCircleSize ( float  sizeIncrease)

◆ setNodeSelection()

void ogdf::CirclePlacer::setNodeSelection ( NodeSelection  nodeSel)

◆ setRadiusFixed()

void ogdf::CirclePlacer::setRadiusFixed ( bool  fixed)

Member Data Documentation

◆ m_circleSize

float ogdf::CirclePlacer::m_circleSize
private

Definition at line 55 of file CirclePlacer.h.

◆ m_fixedRadius

bool ogdf::CirclePlacer::m_fixedRadius
private

Definition at line 56 of file CirclePlacer.h.

◆ m_nodeSelection

NodeSelection ogdf::CirclePlacer::m_nodeSelection
private

Definition at line 57 of file CirclePlacer.h.


The documentation for this class was generated from the following file: