Get the available global attributes for a graph object of class dgr_graph.

get_global_graph_attr_info(graph)

Arguments

graph

a graph object of class dgr_graph.

Value

a data frame containing global attributes for the graph.

Examples

# Create a new, empty graph graph <- create_graph() # View the graph's set of # global attributes graph %>% get_global_graph_attr_info()
#> # A tibble: 17 x 3 #> attr value attr_type #> <chr> <chr> <chr> #> 1 layout neato graph #> 2 outputorder edgesfirst graph #> 3 fontname Helvetica node #> 4 fontsize 10 node #> 5 shape circle node #> 6 fixedsize true node #> 7 width 0.5 node #> 8 style filled node #> 9 fillcolor aliceblue node #> 10 color gray70 node #> 11 fontcolor gray50 node #> 12 bgcolor white graph #> 13 fontname Helvetica edge #> 14 fontsize 8 edge #> 15 len 1.5 edge #> 16 color gray80 edge #> 17 arrowsize 0.5 edge