graphi package¶
-
graphi.graph¶ Default graph type implementation
An implementation of the
Graphinterface, suitable for most purposes. Support of all graph interfaces for both reading and writing is provided. The implementation is adequate for most use-cases, and provides a balance of complexity, performance and storage.See: The corresponding class AdjacencyGraphfor details.alias of
AdjacencyGraph
-
graphi.GraphABC¶ Graph abstract base class for type checks and virtual subclasses
The ABC is primarily needed for two cases:
- Type checking to find graph classes via
isinstance(), as inisinstance(candidate, GraphABC). - Actual or virtual subclasses acting as implementations of the
graphiinterface for type checks.
See: The corresponding class Graphfor details.alias of
Graph- Type checking to find graph classes via