Nothing
#' @describeIn tbl_graph Method to deal with Node objects from the data.tree package
#' @export
as_tbl_graph.Node <- function(x, directed = TRUE, mode = 'out', ...) {
rlang::check_installed('data.tree', 'in order to coerce Node object to tbl_graph')
direction <- if (mode == 'out') 'climb' else 'descend'
as_tbl_graph(data.tree::as.igraph.Node(x, directed = directed, direction = direction, ...))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.