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

`sec` argument errors in branch activity-animate #41

Open lindeloev opened 2 years ago

lindeloev commented 2 years ago

When using the branch activity-animate and sec is not NULL, it fails with lengthy error on the process map.

repex:

animate_process(
  eventdataR::patients,
  type = processmapR::frequency(),
  sec = processmapR::performance()
)

Error:

Failed to render the graph. It is probably too large. Original error: TypeError: Cannot read property 'value' of undefined at SVGGElement.<anonymous> 
(http://localhost:27995/session/viewhtml3a343e184b2d/lib/processanimater-libs-1.0.3/animation_activities.js:166:43) at I.each 
(http://localhost:27995/session/viewhtml3a343e184b2d/lib/d3-5.7.0/d3-custom.min.js:1:8574) at PAActivities.insertActivityAnimation 
(http://localhost:27995/session/viewhtml3a343e184b2d/lib/processanimater-libs-1.0.3/animation_activities.js:88:18) at 
http://localhost:27995/session/viewhtml3a343e184b2d/lib/processanimateR-binding-1.1.0.9000/processanimateR.js:55:24 at 
http://localhost:27995/session/viewhtml3a343e184b2d/lib/processanimater-libs-1.0.3/animation_renderer_graphviz.js:105:9