# NOT RUN {
# Create a new graph and set some global attributes
graph <-
create_graph() %>%
set_global_graph_attrs(
attr = "overlap",
value = "true",
attr_type = "graph")
# View the graph's set of global attributes
# as a data frame
get_global_graph_attrs(graph)
#> attr value attr_type
#> 1 overlap true graph
# }
Run the code above in your browser using DataLab