y.layout.tree
Class BalloonLayouter.NodeInfo

java.lang.Object
  |
  +--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 it's 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 it's root node.

Method Detail

getAngleSum

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


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

2003