# 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")
# Verify that the global attributes have been set
get_global_graph_attrs(graph)
#> attr value attr_type
#> 1 overlap true graph
# }
Run the code above in your browser using DataLab