Search this API

y.layout.tree
Class BalloonLayouter.NodeInfo

java.lang.Object
  extended by y.layout.tree.BalloonLayouter.NodeInfo
Enclosing class:
BalloonLayouter

public static class BalloonLayouter.NodeInfo
extends Object

Encapsulates information bound to a node during the algorithm calculates a layout


Field Summary
 double dist
          the distance of the node to its root node.
 double gapAngle
          The angle that of the gap that to the wedge of the previous child node.
 double lowerAngle
          The lower angle of the subtree wedge rooted at the node.
 double upperAngle
          The upper angle of the subtree wedge rooted at the node.
 
Method Summary
 double getAngleSum()
          Returns the sum of all wedge angles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

upperAngle

public double upperAngle
The upper angle of the subtree wedge rooted at the node.


lowerAngle

public double lowerAngle
The lower angle of the subtree wedge rooted at the node.


gapAngle

public double gapAngle
The angle that of the gap that to the wedge of the previous child node.


dist

public double dist
the distance of the node to its root node.

Method Detail

getAngleSum

public double getAngleSum()
Returns the sum of all wedge angles


© Copyright 2000-2013,
yWorks GmbH.
All rights reserved.