R/create_graph_space.R

Defines functions create_graph_space

Documented in create_graph_space

#' Create graph space
#' @description Initialize a space for the graph.
#' @param output the rendering engine to use. Currently defaults to
#' \code{visNetwork}.
#' @return a graph object of class \code{dgr_graph}.
#' @export create_graph_space

create_graph_space <- function(output = "visNetwork"){
  
  # Create the graph space
  graph <-
    create_graph(graph_attrs = "output = visNetwork")
  
  return(graph)
}
rich-iannone/graphical documentation built on May 27, 2019, 7:58 a.m.