We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repex:
require(visNetwork, quietly = TRUE) # minimal example nodes <- data.frame(id = 1:3) edges <- data.frame(from = c(1,2), to = c(1,3)) net <- visNetwork(nodes, edges, width = "100%") library(htmlwidgets) saveWidget(net,"net.html") webshot2::webshot("net.html",file = "net.png",vwidth = 600,vheight = 400,cliprect = "viewport") webshot2::webshot("net.html",file = "net.pdf",vwidth = 600,vheight = 400,cliprect = "viewport")
Now the fixed output format of pdf is A4format, if possible, hope to support custom page size.
The text was updated successfully, but these errors were encountered:
webshot2/R/webshot.R
Line 286 in dff2626
screenshot_pdf
Sorry, something went wrong.
No branches or pull requests
repex:
Now the fixed output format of pdf is A4format, if possible, hope to support custom page size.
The text was updated successfully, but these errors were encountered: