Splits and packs the components of a Graph.
More...
#include <ogdf/packing/SimpleCCPacker.h>
Splits and packs the components of a Graph.
Simple proxy class that uses the TileToRowsCCPacker. Use it for layouts that do not support disconnected graphs.
Definition at line 48 of file SimpleCCPacker.h.
◆ SimpleCCPacker()
ogdf::SimpleCCPacker::SimpleCCPacker |
( |
LayoutModule * |
pSubLayoutModule = nullptr | ) |
|
|
inlineexplicit |
◆ call()
Computes a layout of graph GA
.
This method is the actual algorithm call and must be implemented by derived classes.
- Parameters
-
GA | is the input graph and will also be assigned the layout information. |
Implements ogdf::LayoutModule.
◆ computeBoundingBox()
◆ setMargins()
void ogdf::SimpleCCPacker::setMargins |
( |
double |
left, |
|
|
double |
top, |
|
|
double |
right, |
|
|
double |
bottom |
|
) |
| |
|
inline |
◆ m_bottomMargin
double ogdf::SimpleCCPacker::m_bottomMargin |
|
protected |
◆ m_leftMargin
double ogdf::SimpleCCPacker::m_leftMargin |
|
protected |
◆ m_pSubLayoutModule
std::unique_ptr<LayoutModule> ogdf::SimpleCCPacker::m_pSubLayoutModule |
|
protected |
◆ m_rightMargin
double ogdf::SimpleCCPacker::m_rightMargin |
|
protected |
◆ m_topMargin
double ogdf::SimpleCCPacker::m_topMargin |
|
protected |
The documentation for this class was generated from the following file: