powered by
Set a name for a graph object of class dgr_graph.
dgr_graph
set_graph_name(graph, name)
a graph object of class dgr_graph.
the name to set for the graph.
# NOT RUN { # Create an empty graph graph <- create_graph() # Provide the new graph with a name graph <- graph %>% set_graph_name(name = "example_name") # }
Run the code above in your browser using DataLab