Vamonos API Reference
Vamonos.Widget.BinaryTree
A representation of a binary tree.
Constructor Arguments
container :: String | jQuery Selector – required |
The id or a jQuery selector of the div in which this widget should draw itself.
varName :: String – required
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