View source: R/set_graph_name.R
set_graph_name | R Documentation |
Set a name for a graph object of class dgr_graph
.
set_graph_name(graph, name)
graph |
A graph object of class |
name |
The name to set for the graph. |
A graph object of class dgr_graph
.
# Create an empty graph
graph <- create_graph()
# Provide the new graph with a name
graph <-
graph %>%
set_graph_name(
name = "example_name")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.