| cgv_fly_to | R Documentation |
Smoothly animate the camera to center on a given node.
Requires that cgv_set_graph was called first (for node positions).
cgv_fly_to(viewer, node_id, duration = 1)
viewer |
External pointer returned by |
node_id |
Integer node identifier (1-based R index). |
duration |
Animation duration in seconds. |
No return value, called for side effects: starts a camera
animation toward the chosen node. Returns NULL invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.