powered by
exports a node to suitable json required by voronoi javascript function
vt_export_json(node, file = NULL)
a Node object generated by vt_create_node or returned from vt_add_nodes
vt_create_node
vt_add_nodes
path where the json should be written to, if NULL, the json is returned as a character
NULL
NULL or a character vector
vt_create_node vt_add_nodes
# NOT RUN { n <- vt_testdata() vt_export_json(n) vt_export_json(n, file=tempfile()) # }
Run the code above in your browser using DataLab