Native .annnet Format
Primary read and write entry points from annnet.io.io_annnet.
annnet.io.io_annnet.write(graph, path, *, compression='zstd', overwrite=False)
annnet.io.io_annnet.read(path, *, lazy=False)
Load graph from disk with zero loss.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
path
|
str | Path
|
Path to .annnet directory |
required |
lazy
|
bool
|
If True, delay loading large arrays until accessed |
False
|
Returns:
| Type | Description |
|---|---|
AnnNet
|
Reconstructed graph with all topology and metadata |