set_graph_name: Set graph name

Description Usage Arguments Value Examples

View source: R/set_graph_name.R

Description

Set a name for a graph object of class dgr_graph.

Usage

1

Arguments

graph

a graph object of class dgr_graph.

name

the name to set for the graph.

Value

a graph object of class dgr_graph.

Examples

1
2
3
4
5
# Create an empty graph
graph <- create_graph()

# Provide the new graph with a name
graph <- set_graph_name(graph, "example_name")

DiagrammeR documentation built on May 19, 2017, 11:29 p.m.

Search within the DiagrammeR package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.