graph_from_bin | R Documentation |
Read the graph from a binary blob
graph_from_bin(path, bin, type = c("directed", "dag"))
path |
(Optional) Path to a file containing a graph binary |
bin |
(Optional) The raw binary of the graph |
type |
The type of graph the JSON represents |
A graph object
Other graphs i/o:
graph_to_bin()
bin <- graph_builder() |>
add_edge("A", "B") |>
build_directed() |>
graph_to_bin()
bin
graph_from_bin(bin = bin)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.