Export a graph to various image formats
Usage
export_graph(
graph,
file_name = NULL,
file_type = NULL,
title = NULL,
width = NULL,
height = NULL
)Arguments
- graph
A graph object of class
dgr_graph.- file_name
The name of the exported file (including it's extension).
- file_type
The type of file to be exported. Options for graph files are:
png,pdf,svg, andps.- title
An optional title for the output graph.
- width
Output width in pixels or
NULLfor default. Only useful for export to image file formatspng,pdf,svg, andps.- height
Output height in pixels or
NULLfor default. Only useful for export to image file formatspng,pdf,svg, andps.
