Get the graph from either the local PicoWeb Server included in plantuml or an online plantuml server.

get_graph(x, file = NULL, width = NULL, height = NULL, css = NULL)

Arguments

x

plantuml code to draw the UML graph

file

file name, including extension, to which the returned plantUML graph should be saved. If NULL', the graph is saved to a temporary file. The following extensions are allowed: - **svg**: This is the default format and the one **always** used as return format for PlantUML for image formats. No conversion neeed. - **txt**: Second return format for PlantUML. No conversion neeed. - **png**: Converted from **svg** using rsvg::rsvg_png( svg = tmpfile, file = file, width = width, height = height, css = css )- **pdf** Converted from **svg** usingrsvg::rsvg_pdf( svg = tmpfile, file = file, width = width, height = height, css = css )- **ps** Converted from **svg** usingrsvg::rsvg_ps( svg = tmpfile, file = file, width = width, height = height, css = css )`

width

output width in pixels or NULL for default.

height

output height in pixels or NULL for default

css

path/url to external css file or raw vector with css data. This requires your system has a recent version of librsvg.

Value

name of the file with the graph