the size of the node spaces
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
Radius of node in pixels
Root NodeViz of the tree
Array of animation states through time
Adds root node to current instance of MultiTreeViz.
the newly created root node of type NodeViz
Adds tree of otherTree
as the subtree of parent
. Deletes otherTree
Returns the d3 selection that represents the structure.
Probably a <g>
element
ONLY MADE FOR TESTING PURPOSES.
Returns node with id ==
nId`
the DOM id of the node
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 along with it's subtree.
Smoothly transitions the structure to the given state
the state to transition to. Should be one of the states in this.timeline
Helper method for transition()
. Transitions the links.
data for the links based off state
the D3 transition being used
Helper method for transition()
. Transitions the nodes.
data for the nodes based off state
the D3 transition being used
Removes all nodes and edges from the tree including the root.
Generated using TypeDoc
Generic visualization methods for trees