Skip to content
Adam Spiers edited this page Feb 13, 2015 · 2 revisions

[Copied from #69; someone should tidy up later.]

start() invokes adaptor.resume() which invokes adaptor.alpha which, when called the first time, calls kick to set up a d3 timer to repeatedly invoke adaptor.tick().

adaptor.tick() then applies an iteration of layout and notifies anybody listening for tick events. This gives those listeners a chance to update their visuals to reflect the updated layout.

Clone this wiki locally