Description Usage Arguments Value See Also Examples
View source: R/vt_export_json.R
exports a node to suitable json required by voronoi javascript function
1 | vt_export_json(node, file = NULL)
|
node |
a Node object generated by |
file |
path where the json should be written to, if |
NULL or a character vector
vt_create_node vt_add_nodes
1 2 3 | n <- vt_testdata()
vt_export_json(n)
vt_export_json(n, file=tempfile())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.