saveNetwork: Save a network graph to an HTML file

Description Usage Arguments

View source: R/saveNetwork.R

Description

Save a networkD3 graph to an HTML file for sharing with others. The HTML can include it's dependencies in an adjacent directory or can bundle all dependencies into the HTML file (via base64 encoding).

Usage

1
saveNetwork(network, file, selfcontained = TRUE)

Arguments

network

Network to save (e.g. result of calling the function simpleNetwork).

file

File to save HTML into

selfcontained

Whether to save the HTML as a single self-contained file (with external resources base64 encoded) or a file with external resources placed in an adjacent directory.


christophergandrud/networkD3 documentation built on Dec. 26, 2017, 6:26 p.m.