Skip to main content

Module graph

Module graph 

Source
Expand description

Sparse weighted graph with dynamic edge operations.

SparseGraph uses adjacency-list storage for O(1) edge insertion and deletion, plus efficient CSR export for matrix operations. It supports the Laplacian quadratic form x^T L x needed for spectral audits.

Structsยง

SparseGraph
A weighted undirected graph with dynamic edge support.