TreeTools.h3tulip
Usage
#include <tulip/Node.h>
#include <tulip/Graph.h>
#include <tulip/LayoutProperty.h>
#include <tulip/SizeProperty.h>
Functions
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)