Array of animation states through time
Enables the dragging of nodes with the mouse. From https://observablehq.com/@d3/disjoint-force-directed-graph
just this.simulation
Freezes the graph. (Stops the particle simulation from occurring.)
Returns the d3 selection that represents the structure.
Probably a <g>
element
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.
Sets all the parameters of the particle simulation. Should be rerun if the parameters have been changed.
Lets
Transitions the visuals to the given state. Details are implemented in subclasses.
In subclasses, call super.transition(state);
in the transition implementation.
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
Returns the structure to it's blank state
Generated using TypeDoc
dom id for
<g>
element