graph_version: igraph data structure versions

View source: R/versions.R

graph_versionR Documentation

igraph data structure versions

Description

igraph's internal data representation changes sometimes between versions. This means that it is not always possible to use igraph objects that were created (and possibly saved to a file) with an older igraph version.

Usage

graph_version(graph)

Arguments

graph

The input graph. If it is missing, then the version number of the current data format is returned.

Details

graph_version() queries the current data format, or the data format of a possibly older igraph graph.

upgrade_graph() can convert an older data format to the current one.

Value

An integer scalar.

See Also

upgrade_graph to convert the data format of a graph.

Other versions: upgrade_graph()


igraph documentation built on Oct. 20, 2024, 1:06 a.m.