The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Export DiagrammeR Graphviz Graphs as SVG
Version: 0.1
Date: 2016-02-02
Maintainer: Richard Iannone <riannone@me.com>
Description: Allows for export of DiagrammeR Graphviz objects to SVG.
License: MIT + file LICENSE
Imports: V8 (≥ 0.10)
URL: https://github.com/rich-iannone/DiagrammeRsvg
BugReports: https://github.com/rich-iannone/DiagrammeRsvg/issues
RoxygenNote: 5.0.1
NeedsCompilation: no
Packaged: 2016-02-03 22:57:22 UTC; riannone
Author: Richard Iannone [aut, cre]
Repository: CRAN
Date/Publication: 2016-02-04 11:27:31

Export grViz graph as SVG with V8

Description

Use viz.js with V8 to get the diagram rendered as SVG in R instead of the browser.

Usage

export_svg(gv)

Arguments

gv

htmlwidget to render as SVG.

Value

string of SVG XML text.

Examples

## Not run: 
 library(DiagrammeR)
 svg <- export_svg(grViz('digraph{a->b; c->a; c->b; c->d;}'))

 # this can then be used with htmltools and can save significantly
 # on size of output using svg rather than unrendered grViz
 library(htmltools)
 html_print(HTML(svg))

## End(Not run)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.