The following example of render.d3movie()
# render a static network as interactive SVG with lots of html tooltip info
data(emon)
render.d3movie(
emon[[5]],
vertex.tooltip=paste(emon[[5]]%v%'vertex.names',
emon[[5]]%v%'Command.Rank.Score',
emon[[5]]%v%'Sponsorship',
sep="<br>"),
edge.tooltip=paste('Frequency:',emon[[5]]%e%'Frequency'),
edge.lwd='Frequency'
)
produces an HTML file with some JS content, but nothing is rendered (appears empty) and R console shows:
input network is not networkDynamic object and does not have temporal info so output animation controls disabled by default
Calculating layout for network slice from time 0 to 0
caching 10 properties for slice 0
wrote animation HTML file to /tmp/Rtmp6p6dxm/file3c2237c4703d.html
opening local URL file:///tmp/Rtmp6p6dxm/file3c2237c4703d.html in web browser
The following example of
render.d3movie()produces an HTML file with some JS content, but nothing is rendered (appears empty) and R console shows: