aryagraph.io.interop.from_scipy_sparse#
- aryagraph.io.interop.from_scipy_sparse(m: Any, *, directed: bool | None = None, nodes: Sequence[Any] | None = None, weight: str | None = 'weight') Graph[source]#
Graph from a scipy sparse adjacency matrix (any format); same rules as
from_numpy().Explicitly stored zeros are not edges; duplicate entries are summed first.