JSON and NDJSON
Read and write a graph as a JSON-compatible dictionary, or as newline-delimited JSON (NDJSON) files.
annnet.io.json_format.from_json
Load AnnNet from node-link JSON + x-extensions (lossless wrt schema above).
annnet.io.json_format.to_json
Node-link JSON with x-extensions (slices, edge_slices, hyperedges).
Preserves IDs, attributes, parallel edges, hyperedges and slices.
annnet.io.json_format.read_ndjson
Read the directory write_ndjson wrote.