Representation of proper hierarchies used by Sugiyama-layout.
More...
#include <ogdf/layered/Hierarchy.h>
Representation of proper hierarchies used by Sugiyama-layout.
- See also
- Level, SugiyamaLayout
Definition at line 47 of file Hierarchy.h.
◆ Hierarchy() [1/2]
ogdf::Hierarchy::Hierarchy |
( |
| ) |
|
|
inline |
Creates an empty hierarchy.
Definition at line 56 of file Hierarchy.h.
◆ Hierarchy() [2/2]
ogdf::Hierarchy::Hierarchy |
( |
const Graph & |
G, |
|
|
const NodeArray< int > & |
rank |
|
) |
| |
Creates an hierarchy of graph G
with node ranks rank
.
◆ ~Hierarchy()
ogdf::Hierarchy::~Hierarchy |
( |
| ) |
|
|
inline |
◆ createEmpty()
void ogdf::Hierarchy::createEmpty |
( |
const Graph & |
G | ) |
|
◆ doInit()
void ogdf::Hierarchy::doInit |
( |
const NodeArray< int > & |
rank | ) |
|
|
private |
◆ initByNodes()
◆ isLongEdgeDummy()
bool ogdf::Hierarchy::isLongEdgeDummy |
( |
node |
v | ) |
const |
|
inline |
◆ maxRank()
int ogdf::Hierarchy::maxRank |
( |
| ) |
const |
|
inline |
◆ operator const GraphCopy &()
ogdf::Hierarchy::operator const GraphCopy & |
( |
| ) |
const |
|
inline |
◆ rank()
int ogdf::Hierarchy::rank |
( |
node |
v | ) |
const |
|
inline |
Returns the rank (level) of node v
.
Definition at line 71 of file Hierarchy.h.
◆ size()
int ogdf::Hierarchy::size |
( |
int |
i | ) |
const |
|
inline |
◆ LayerBasedUPRLayout
◆ m_GC
The graph copy representing the topology of the proper hierarchy.
Definition at line 50 of file Hierarchy.h.
◆ m_rank
The rank (level) of a node.
Definition at line 51 of file Hierarchy.h.
◆ m_size
Array<int> ogdf::Hierarchy::m_size |
|
private |
The documentation for this class was generated from the following file: