ConvertToGraphML | R Documentation |
ConvertToGraphML
saves a copy of an igraph graph object
as a local graphml file in the current file directory with the
file name containing the current date, a supplied string in
file.name
, and the current time.
ConvertToGraphML(output.graph, file.name)
output.graph |
An igraph graph object to be saved as a local file. |
file.name |
A short, descriptive phrase for the file name of the saved igraph graph object. The user need not include the ".graphml" file extension as that is automatically appended. |
current.graph <- igraph::sample_k_regular(no.of.nodes = 10, k = 2, directed = FALSE, multiple = FALSE)
file.name <- "Practice_Graph"
ConvertToGraphML(current.graph, file.name)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.