weka.gui.treevisualizer

## Class TreeBuild

- java.lang.Object
- - weka.gui.treevisualizer.TreeBuild

-     public class TreeBuild
      extends java.lang.Object

  This class will parse a dotty file and construct a tree structure from it with Edge's and Node's
  Version:
    $Revision: 11247 $
  Author:
    Malcolm Ware (mfw4@cs.waikato.ac.nz)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TreeBuild()` Upon construction this will only setup the color table for quick reference of a color.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Node` | `create(java.io.Reader t)` This will build A node structure from the dotty format passed.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TreeBuild

          public TreeBuild()

      Upon construction this will only setup the color table for quick reference of a color.

  - ### Method Detail

    - #### create

          public Node create(java.io.Reader t)

      This will build A node structure from the dotty format passed. Don't send a dotty format with multiple parents per node, and ensure that there is 1 and only 1 node with no parent.
      Parameters:
        `t` - The reader with the dotty string to be read.
      Returns:
        The top node of the tree structure (the last node with no parent).