80 bool even = getEvenAngles();
95 void computeTree(
const Graph &G);
98 void computeBFSTree(
const Graph &G,
node v);
102 void selectRoot(
const Graph &G);
116 void computeAngles(
const Graph &G);
133 void checkTree(
const Graph &G,
bool treeRoot =
true);
148 void check(
Graph &G);
RootSelection m_rootSelection
Defines how the tree root is selected.
NodeArray< List< node > > m_childList
Data type for general directed graphs (adjacency list representation).
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
NodeArray< int > m_childCount
Number of children in spanning tree.
ChildOrder m_childOrder
How to arrange the children.
NodeArray< double > m_radius
NodeArray< double > m_oRadius
Radius at node center.
NodeArray< double > m_maxChildRadius
Outer radius of largest child.
Stores additional attributes of a graph (like layout information).
NodeArray< node > m_parent
Parent in spanning tree.
TreeComputation m_treeComputation
How to derive the spanning tree.
Declaration of interface for layout algorithms (class LayoutModule)
node m_treeRoot
Root of tree after computation.
Class for the representation of nodes.
void setEvenAngles(bool b)
Subtrees may be assigned even angles or angles depending on their size.
#define OGDF_NEW_DELETE
Makes the class use OGDF's memory allocator.
Interface of general layout algorithms.
NodeArray< double > m_angle
Angle assigned to nodes.
node m_root
Root of tree by selection method.
virtual void callFractal(GraphAttributes &AG, double ratio=0.3)
Call using special parameter settings for fractal model takes radius ratio < 0.5 as parameter...
double m_estimateFactor
Weight of value (largestchild / number of children) added to estimate to compute radius.
NodeArray< double > m_estimate
Rough estimate of circumference of subtrees.
bool getEvenAngles()
returns how the angles are assigned to subtrees.
The namespace for all OGDF objects.
NodeArray< double > m_size
Radius of circle around node box.
std::ostream & operator<<(std::ostream &os, const ogdf::Array< E, INDEX > &a)
Prints array a to output stream os.
Declaration of doubly linked lists and iterators.