almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.84k stars 1.48k forks source link

Animated transitions in network #2758

Open bavoke1 opened 7 years ago

bavoke1 commented 7 years ago

Does vis.js currently support animated transitions like D3.js does? I would like to transition certain properties of the nodes and edges of my network (node size, edge size, color ...) with a specified duration and/or delay.

p.s. I am not reffering to an animation of the view (camera animations)

Tooa commented 7 years ago

No, visjs does not have such a feature. However, we are open for pull requests. You might pick it up if you like to.

rasmusblockzero commented 7 years ago

I have an implementation that allow for animations of some opacity and size values. Though the actual selection of which values to animate are a bit hard coded for what I needed. It might be generalizable without too much work but if so there are some architectural discussions I'd need input on too.

I don't think it had to be a breaking change @mojoaxel I believe it can be done in css-ish opt-in fashion

wimrijnders commented 7 years ago

@rasmusblockzero Please, feel free to create a PR for this!