Description Usage Arguments Value
View source: R/tween-addEdge.R
A function to compute tween
'd data for an edge addition in a microstep process animation
1 | tween_addEdge(nodes1, nodes2, edges, stepInfo)
|
nodes1 |
|
nodes2 |
|
edges |
|
stepInfo |
|
A data frame with the following columns:
from
ego node
to
alter node
edge.weight
not important
addedge
is the edge being added
rmvedge
is the edge being removed
microstep
the microstep (0 is the starting network)
from.x
from node x coordinate
from.y
from node y coordinate
ms
animation microstep
size
node size in the frame
color
node color in the frame
.frame
frame id for animating
to.x
to node x coordinate
to.y
to node y coordinate
ecolor
edge color in the frame
esize
edge size in the frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.