Python API¶
The reference pages in this section are generated from the Python API stubs in
python/tonggraph/. The runtime implementation is provided by the compiled
PyO3 extension.
Use these pages for signatures, argument shapes, and return values. For algorithmic behavior, start with Algorithms. For pattern query behavior, see Query Layer. For probabilistic inference, see Belief Propagation. For storage behavior, see Persistence.
Core Classes¶
Graphis the mutable embedded graph database.GraphSnapshotis a read-only copy of graph state used for stable query and compute views.