Learn R Programming

DiagrammeR (version 1.0.9)

get_global_graph_attr_info: Get global graph attributes

Description

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

Usage

get_global_graph_attr_info(graph)

Value

A data frame containing global attributes for the graph.

Arguments

graph

A graph object of class dgr_graph.

Examples

Run this code
# Create a new, empty graph
graph <- create_graph()

# View the graph's set of
# global attributes
graph %>%
  get_global_graph_attr_info()

Run the code above in your browser using DataLab