generate_dot: Generate DOT code using a graph object

View source: R/generate_dot.R

generate_dotR Documentation

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)

Arguments

graph

A graph object of class dgr_graph.

Value

A character vector of length 1 containing Graphviz DOT code.


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