bupaverse/processanimateR

`sec` argument errors in branch activity-animate

lindeloev opened this issue · 0 comments

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