|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
59 class GraphAttributes;
85 bool even = getEvenAngles();
101 void computeTree(
const Graph& G);
104 void computeBFSTree(
const Graph& G,
node v);
108 void selectRoot(
const Graph& G);
122 void computeAngles(
const Graph& G);
139 void checkTree(
const Graph& G,
bool treeRoot =
true);
154 void check(
Graph& G);
The namespace for all OGDF objects.
Stores additional attributes of a graph (like layout information).
Includes declaration of graph class.
NodeArray< double > m_angle
Angle assigned to nodes.
NodeArray< node > m_parent
Parent in spanning tree.
NodeArray< List< node > > m_childList
Declaration of interface for layout algorithms (class LayoutModule)
ChildOrder m_childOrder
How to arrange the children.
node m_treeRoot
Root of tree after computation.
NodeArray< double > m_oRadius
Radius at node center.
NodeArray< double > m_size
Radius of circle around node box.
node m_root
Root of tree by selection method.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
NodeArray< double > m_radius
void setEvenAngles(bool b)
Subtrees may be assigned even angles or angles depending on their size.
TreeComputation m_treeComputation
How to derive the spanning tree.
double m_estimateFactor
Weight of value (largestchild / number of children) added to estimate to compute radius.
std::ostream & operator<<(std::ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
RegisteredArray for nodes, edges and adjEntries of a graph.
NodeArray< double > m_maxChildRadius
Outer radius of largest child.
Data type for general directed graphs (adjacency list representation).
RootSelection m_rootSelection
Defines how the tree root is selected.
Basic declarations, included by all source files.
EdgeArray< bool > m_treeEdge
Holds info about tree edges.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
bool getEvenAngles()
returns how the angles are assigned to subtrees.
NodeArray< double > m_estimate
Rough estimate of circumference of subtrees.
Class for the representation of nodes.
Declaration of memory manager for allocating small pieces of memory.
virtual void callFractal(GraphAttributes &AG, double ratio=0.3)
Call using special parameter settings for fractal model takes radius ratio < 0.5 as parameter.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
Interface of general layout algorithms.
NodeArray< int > m_childCount
Number of children in spanning tree.