the selection to be transitioned
Optional
duration: numberthe duration of the transition in milliseconds, a function returning the duration, or 0 for no transition
Optional
delay: numberthe delay of the transition in milliseconds, or a function returning the delay, or 0 for no delay
Optional
name: stringthe name of the transition (if concurrent transitions on the same elements are needed)
Generated using TypeDoc
Start a transition on a selection if transitions are globally enabled (disableTransitions is false) and the duration is greater than zero; otherwise return the selection. Since most operations are the same on a d3 selection and a d3 transition, this allows a common code path for both cases.