Vamonos.Widget.BinaryTree

Back

A representation of a binary tree.

Constructor Arguments

container :: String jQuery Selectorrequired

The id or a jQuery selector of the div in which this widget should draw itself.

varName :: Stringrequired

the name of variable that this widget represents

defaultTree :: BinaryTree – optional

the initial tree

xscalar :: Number – default value: 60

how far to seperate nodes on the x axis

yscalar :: Number – default value: 40

how far to seperate nodes on the y axis