🏠 back to Observable

Noticeable delay in yielding 2nd and subsequent promises for animation

Dear Observable team,

Example: https://observablehq.com/d/66a62a5cbbf0ac2c

Whenever there is a drag event the config generates iterable promises. However, only the 1st promise has no delay while the rest suffers from noticeable delay in drawing

Our solution is to create a function which executes whenever re-calculating the node and link positions. Do you have any better idea making use of reactive programming.

Thanks very much for your time :grinning:

There’s a lot going on in this example.

Any chance you could pare it down to a smaller example so that we can better understand what you are trying to do?