DiagrammeR (version 1.0.0)

print.dgr_graph: Print the graph to the terminal

Description

This function will provide a summary of the graph.

Usage

# S3 method for dgr_graph
print(x, ...)

Arguments

x

a graph object of class dgr_graph.

Examples

Run this code
# NOT RUN {
# Create a random graph using the
# `add_gnm_graph()` function
graph <-
  create_graph() %>%
  add_gnm_graph(
    n = 10,
    m = 15,
    set_seed = 23)

# Get a summary of the graph
graph
# }

Run the code above in your browser using DataCamp Workspace