Note

This is the documentation for the current state of the development branch of rustworkx. The documentation or APIs here can change prior to being released.

Serialization#

rustworkx.node_link_json(graph[, path, ...])

Generate a JSON object representing a graph in a node-link format

rustworkx.read_graphml(path, /)

Read a list of graphs from a file in GraphML format.

rustworkx.from_node_link_json_file(path[, ...])

Parse a node-link format JSON file to generate a graph

rustworkx.parse_node_link_json(data[, ...])

Parse a node-link format JSON str to generate a graph