|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
40 class GraphAttributes;
161 double siblingDistance()
const {
return m_siblingDistance; }
215 struct TreeStructure;
223 void firstWalk(TreeStructure& ts,
node subtree,
bool upDown);
227 void apportion(TreeStructure& ts,
node subtree,
node& defaultAncestor,
bool upDown);
231 void secondWalkX(TreeStructure& ts,
node subtree,
double modifierSum);
232 void secondWalkY(TreeStructure& ts,
node subtree,
double modifierSum);
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
Includes declaration of graph class.
bool m_orthogonalLayout
Option for orthogonal style (yes/no).
RootSelectionType m_selectRoot
Option for how to determine the root.
void orientation(Orientation orientation)
Sets the option that determines the orientation of the layout to orientation.
double m_treeDistance
The minimal distance between trees.
Declaration of interface for layout algorithms (class LayoutModule)
bool orthogonalLayout() const
Returns whether orthogonal edge routing style is used.
Orientation orientation() const
Returns the option that determines the orientation of the layout.
Orientation m_orientation
Option for orientation of tree layout.
void subtreeDistance(double x)
Sets the minimal required horizontal distance between subtrees to x.
double m_siblingDistance
The minimal distance between siblings.
void treeDistance(double x)
Sets the minimal required horizontal distance between trees in the forest to x.
double treeDistance() const
Returns the minimal required horizontal distance between trees in the forest.
RootSelectionType rootSelection() const
Returns the option that determines how the root is selected.
double m_subtreeDistance
The minimal distance between subtrees.
double levelDistance() const
Returns the minimal required vertical distance between levels.
Data type for general directed graphs (adjacency list representation).
int orientation(const DPoint &p, const DPoint &q, const DPoint &r)
void rootSelection(RootSelectionType rootSelection)
Sets the option that determines how the root is selected to rootSelection.
void siblingDistance(double x)
Sets the the minimal required horizontal distance between siblings to x.
double subtreeDistance() const
Returns the minimal required horizontal distance between subtrees.
Orientation
Determines the orientation in hierarchical layouts.
double m_levelDistance
The minimal distance between levels.
Basic declarations, included by all source files.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
The tree layout algorithm.
void levelDistance(double x)
Sets the minimal required vertical distance between levels to x.
RootSelectionType
Determines how to select the root of the tree.
void orthogonalLayout(bool b)
Sets the option for orthogonal edge routing style to b.
Class for the representation of nodes.
Interface of general layout algorithms.