Initialize binary tree with dimensions.
(px)
(px)
Stores current node id along with the visualization structure of its children
Stores edges that are not regular (eg. have some highlight or label)
by string source.id + "_" + target.id
dom id for <g>
element
Root NodeViz of the tree
Array of animation states through time
Adds a root to the binary tree.
root node
a list of all nodes in the binary tree.
Returns the d3 selection that represents the structure.
Probably a <g>
element
ONLY MADE FOR TESTING PURPOSES.
Returns node with id ==
nId`
Returns a copy of the structures current state.
Pushes the current state onto the timeline and transitions to it.
Adds the current state to the timeline.
Removes node
from the structure
See the transition
function of TreeViz.
Clear the binary tree of all nodes.
Generated using TypeDoc
Extremely similar to MultiTreeViz but for binary trees only. Documentation is the same for most methods.