|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
46 class GraphAttributes;
144 void FindRoot(
const Graph& G);
145 void ComputeLevels(
const Graph& G);
147 void ComputeAngles(
const Graph& G);
149 void ComputeGroupings(
const Graph& G);
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
void rootSelection(RootSelectionType sel)
Sets the option rootSelection to sel.
Includes declaration of graph class.
NodeArray< double > m_relWidth
The relative width of the subtree.
double m_levelDistance
The minimal distance between levels.
NodeArray< double > m_wedge
The wedge reserved for subtree.
Array< double > m_maxDiameter
The maximal diameter on a level.
Declaration of interface for layout algorithms (class LayoutModule)
RootSelectionType m_selectRoot
Specifies how to determine the root.
NodeArray< node > m_parent
The parent of a node (nullptr if root).
void levelDistance(double x)
Sets the option levelDistance to x.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
const NodeArray< double > & diameter() const
NodeArray< SListPure< node > > m_children
The children of a node.
int m_numLevels
The number of levels (root is on level 0).
Declaration of singly linked lists and iterators.
The parameterized class Array implements dynamic arrays of type E.
NodeArray< int > m_level
The level of a node.
Array< double > m_radius
The width of a level.
RootSelectionType
Selection strategies for root of the tree.
Array< SListPure< node > > m_nodes
The nodes at a level.
NodeArray< double > m_angle
The angle of node center (for placement).
RegisteredArray for nodes, edges and adjEntries of a graph.
Data type for general directed graphs (adjacency list representation).
The radial tree layout algorithm.
double levelDistance() const
Returns the option levelDistance.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
NodeArray< double > m_absWidth
the absolute width of the subtree.
Declaration and implementation of Array class and Array algorithms.
node m_root
The root of the tree.
RootSelectionType rootSelection() const
Returns the option rootSelection.
Class for the representation of nodes.
Declaration of memory manager for allocating small pieces of memory.
Interface of general layout algorithms.
NodeArray< double > m_diameter
The diameter of a circle bounding a node.