Learn R Programming

DiagrammeR (version 1.0.10)

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
if (FALSE) {
# 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 DataLab