124 void mapGridLayout(
const Graph &G,
193 bool fixEmbedding) = 0;
199 IPoint &boundingBox)
override 201 doCall(G,
nullptr,gridLayout,boundingBox,
false);
299 bool fixEmbedding) = 0;
308 bool fixEmbedding)
override;
Representation of a graph's grid layout.
Base class for grid layout algorithms.
GridLayoutModule()
Initializes a grid layout module.
double m_separation
The minimum distance between nodes.
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
void callGridFixEmbed(const Graph &G, GridLayout &gridLayout, adjEntry adjExternal=nullptr)
Calls the grid layout algorithm with a fixed planar embedding (call for GridLayout).
Base class for planar grid layout algorithms.
const IPoint & gridBoundingBox() const
Declaration of a base class for planar representations of graphs and cluster graphs.
double separation() const
Returns the current setting of the minimum distance between nodes.
IPoint m_gridBoundingBox
The computed bounding box of the grid layout.
Base class for grid layout algorithms operating on a PlanRep.
void separation(double sep)
Sets the minimum distance between nodes.
void callGridFixEmbed(const Graph &G, GridLayout &gridLayout, adjEntry adjExternal=nullptr)
Calls the grid layout algorithm with a fixed planar embedding (call for GridLayout).
GridLayoutPlanRepModule()
Initializes a plan-rep grid layout module.
Declaration of class GridLayout.
Stores additional attributes of a graph (like layout information).
PlanarGridLayoutModule()
Initializes a planar grid layout module.
Standard values for graphical attributes and layouts.
Declaration of interface for layout algorithms (class LayoutModule)
virtual void doCall(const Graph &G, adjEntry adjExternal, GridLayout &gridLayout, IPoint &boundingBox, bool fixEmbedding)=0
Implements the algorithm call.
Interface of general layout algorithms.
virtual ~PlanarGridLayoutModule()
virtual ~GridLayoutPlanRepModule()
The namespace for all OGDF objects.
void callGrid(const Graph &G, GridLayout &gridLayout)
Calls the grid layout algorithm (call for GridLayout).
virtual ~GridLayoutModule()
virtual void doCall(const Graph &G, GridLayout &gridLayout, IPoint &boundingBox) override
Implements the GridLayoutModule::doCall().
void callGrid(const Graph &G, GridLayout &gridLayout)
Calls the grid layout algorithm (call for GridLayout).
Class for adjacency list elements.
Planarized representations (of a connected component) of a graph.