类 PlaceNode2

java.lang.Object
weka.gui.treevisualizer.PlaceNode2
所有已实现的接口:
NodePlace

public class PlaceNode2 extends Object implements NodePlace
This class will place the Nodes of a tree.

It will place these nodes so that they fall at evenly below their parent. It will then go through and look for places where nodes fall on the wrong side of other nodes when it finds one it will trace back up the tree to find the first common sibling group these two nodes have And it will adjust the spacing between these two siblings so that the two nodes no longer overlap. This is nasty to calculate with , and takes a while with the current algorithm I am using to do this.

版本:
$Revision: 1.4 $
作者:
Malcolm Ware (mfw4@cs.waikato.ac.nz)
  • 构造器详细资料

    • PlaceNode2

      public PlaceNode2()
  • 方法详细资料

    • place

      public void place(Node r)
      The Funtion to call to have the nodes arranged.
      指定者:
      place 在接口中 NodePlace
      参数:
      r - The top node of the tree to arrange.