flow
flow copied to clipboard
svg
Maybe we can make another pass on this, there "should" be a way to extract a proper svg file from an html.
I would also like the pdfs to be svg when the "flow.svg" option is TRUE
, not the case now as we use webshot
.
This should also be better documented.
I've placed a 200 bounty on:
https://stackoverflow.com/questions/72685557/export-manually-edited-htmlwidget-to-svg-or-similar
See also:
https://stackoverflow.com/questions/57749337/exporting-networkd3-graphs-as-vector-graphics
FYI: Both links point to the same question and there doesn't seem to be a bounty on it. Also note that webshot will not have further improvements as development is now on webshot2. HTH
Thanks, I've updated the link.
I'll give a shot at webshot2 again (in #154 ) but IIRC I had tried to switch and something didn't workout properly
Bounty was answered, offers no solution to have svg in pdf but that's probably not the most popular output format.
We need chromote and chrome (and chrome) though, so we need to do the Suggests / if(requireNamespace(...)
dance. and we can use chromote::find_chrome()
to make sure that chrome is installed.
An issue is that browseURL()
when called on a svg file opens a useless utility on MacOS so I'm not sure what the default behavior for out = "svg"
should be.