bupaverse / processanimateR

Token replay animation for process maps created with processmapR by using SVG animations (SMIL) and the htmlwidget package.
https://bupaverse.github.io/processanimateR/
Other
66 stars 11 forks source link

Refactor animation library into stand-alone JS project #21

Open fmannhardt opened 5 years ago

fmannhardt commented 5 years ago

The processanimateR package is SVG+JS written mainly in D3 together with a JS version of GraphViz. The interface is relatively standalone as the data is provided in JSON format. So, it would be useful to refactor this part out in a stand-alone JS project that takes a SVG (e.g. created by viz.js) and the matching JSON format describing the tokens and creates the HTML necessary for the animation.

Maybe this could be a D3 plug-in or something like this.