Skip to main content

nodedb_graph/csr/index/
mod.rs

1//! Dense integer CSR adjacency index with interned node IDs and labels.
2//!
3//! Split across:
4//! - `types`     — struct definition, constructor, `Default`
5//! - `interning` — node + label string↔id interning, node-label bitset
6//! - `mutation`  — `add_edge`, `remove_edge`, `remove_node_edges`
7//! - `lookup`    — neighbor queries, accessors, degree, iterators
8
9pub mod interning;
10pub mod lookup;
11pub mod mutation;
12pub mod types;
13
14#[cfg(test)]
15mod tests;
16
17pub use types::CsrIndex;
18// Re-export shared Direction from nodedb-types via the types submodule.
19pub use types::Direction;