It seems to calculate the coordinates correctly in the Computation tab, but when I go to the Render tab, it runs all the calculations again.
[1] "Calculating layout for network slice from time 96 to 97"
[1] "Calculating layout for network slice from time 97 to 98"
[1] "Calculating layout for network slice from time 98 to 99"
[1] "Calculating layout for network slice from time 99 to 100"
[1] "Calculating layout for network slice from time 100 to 101"
[1] "rendering 10 frames for slice 0"
[1] "rendering 10 frames for slice 1"
[1] "rendering 10 frames for slice 2"
[1] "rendering 10 frames for slice 3"
Normally, compute.animation() should cache the coordinates it computes inside the network object. If render.animation() doesn't find these coordinates, it will run compute.animation() again using default values. Perhaps the correct object is not getting passed in to render.animation()?
I'm testing http://kecoli.shinyapps.io/dynamic-network-visualization/
It seems to calculate the coordinates correctly in the Computation tab, but when I go to the Render tab, it runs all the calculations again.
[1] "Calculating layout for network slice from time 96 to 97" [1] "Calculating layout for network slice from time 97 to 98" [1] "Calculating layout for network slice from time 98 to 99" [1] "Calculating layout for network slice from time 99 to 100" [1] "Calculating layout for network slice from time 100 to 101" [1] "rendering 10 frames for slice 0" [1] "rendering 10 frames for slice 1" [1] "rendering 10 frames for slice 2" [1] "rendering 10 frames for slice 3"
Normally, compute.animation() should cache the coordinates it computes inside the network object. If render.animation() doesn't find these coordinates, it will run compute.animation() again using default values. Perhaps the correct object is not getting passed in to render.animation()?