Learn R Programming

DiagrammeR (version 1.0.9)

generate_dot: Generate DOT code using a graph object

Description

Generates Graphviz DOT code as an R character object using DiagrammeR graph object.

Usage

generate_dot(graph)

Value

A character vector of length 1 containing Graphviz DOT code.

Arguments

graph

A graph object of class dgr_graph.