TreeTools.h File Reference
#include <tulip/Node.h>
Include dependency graph for TreeTools.h:
This graph shows which files directly or indirectly include this file:
Namespaces
Functions
- tlp::node searchRoot (const tlp::Graph *tree)
- int getTreeDepth (const tlp::Graph *tree, tlp::node root)
- bool isLeaf (const tlp::Graph *tree, tlp::node n)
- float getNodeX (tlp::LayoutProperty *pLayout, tlp::node current)
- float getNodeY (tlp::LayoutProperty *pLayout, tlp::node current)
- float getNodeHeight (tlp::SizeProperty *size, tlp::node current)
- float getNodeWidth (tlp::SizeProperty *size, tlp::node current)
Function Documentation
float getNodeHeight |
( |
tlp::SizeProperty * |
size, |
|
|
tlp::node |
current |
|
) |
|
|
float getNodeWidth |
( |
tlp::SizeProperty * |
size, |
|
|
tlp::node |
current |
|
) |
|
|
float getNodeX |
( |
tlp::LayoutProperty * |
pLayout, |
|
|
tlp::node |
current |
|
) |
|
|
float getNodeY |
( |
tlp::LayoutProperty * |
pLayout, |
|
|
tlp::node |
current |
|
) |
|
|
int getTreeDepth |
( |
const tlp::Graph * |
tree, |
|
|
tlp::node |
root |
|
) |
|
|
bool isLeaf |
( |
const tlp::Graph * |
tree, |
|
|
tlp::node |
n |
|
) |
|
|
tlp::node searchRoot |
( |
const tlp::Graph * |
tree |
) |
|
|
|