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)
plantuml code to draw the UML graph
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** using
rsvg::rsvg_pdf(
svg = tmpfile,
file = file,
width = width,
height = height,
css = css
)- **ps** Converted from **svg** using
rsvg::rsvg_ps(
svg = tmpfile,
file = file,
width = width,
height = height,
css = css
)`
output width in pixels or NULL for default.
output height in pixels or NULL for default
path/url to external css file or raw vector with css data. This requires your system has a recent version of librsvg.
name of the file with the graph