#include <algorithm>
#include <tulip/Graph.h>
#include <tulip/LayoutProperty.h>
#include <tulip/SizeProperty.h>
#include "TreeTools.h"
Include dependency graph for TreeTools.cpp:
Functions | |
node | searchRoot (const Graph *tree) |
int | getTreeDepth (const Graph *tree, node root) |
bool | isLeaf (const Graph *tree, node n) |
float | getNodeX (LayoutProperty *pLayout, node current) |
float | getNodeY (LayoutProperty *pLayout, node current) |
float | getNodeHeight (SizeProperty *size, node current) |
float | getNodeWidth (SizeProperty *size, node current) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|