qd_save: Save graph objects

View source: R/qd_save.R

qd_saveR Documentation

Save graph objects

Description

Export high-quality, scalable graphics for both print and online.

Usage

qd_save(graph, filename = NULL, filetype = "pdf", embed = F, ...)

Arguments

graph

Either a DiagrammeR graph object or a diagram generated by render_graph().

filename

String for filename. Defaults to NULL.

filetype

One of pdf, eps, pdf, svg. Defaults to pdf.

embed

Defaults to FALSE. Automatically set to TRUE by qd_embed().

...

Pass arguments to render_graph(), e.g., width and height (pixels) for .png files.

Functions

  • qd_save():


jrgant/quickDAG documentation built on Feb. 15, 2023, 3:20 a.m.