print.dgr_graph: Print the graph to the terminal

View source: R/print.R

print.dgr_graphR Documentation

Print the graph to the terminal

Description

This function will provide a summary of the graph.

Usage

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

Arguments

x

A graph object of class dgr_graph.

Examples

## 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

## End(Not run)

DiagrammeR documentation built on June 22, 2024, 11:21 a.m.