graph_to_bin: Save the graph into a binary blob

View source: R/bin.R

graph_to_binR Documentation

Save the graph into a binary blob

Description

Save the graph into a binary blob

Usage

graph_to_bin(graph, path)

Arguments

graph

A graph object

path

Path to a file to save the graph into

Value

Run for its side-effects

See Also

Other graphs i/o: graph_from_bin()

Examples

graph <- graph_builder() |>
  add_edge("A", "B") |>
  build_directed()

graph_to_bin(graph)

orbweaver documentation built on June 8, 2025, 11:40 a.m.