Library¶
Top level Functions¶
-
model- Create aGraphModel -
build- Generate aGraphRepresentationfrom aGraphModel -
abuild- Asynchronously generate aGraphRepresentationfrom aGraphModelcontainingasync defsuppliers
SDK¶
Model¶
-
The
GraphModelClass which is used to declaratively register, Edge and/or Node data supplier functions. Using theGraphModel.node()andGraphModel.edge()decorators, and compose models via+orGraphModel.merge().
Engine¶
graphinate.engine.GraphEngine- Decoupled traversal engine that dispatchesNodeEventandEdgeEventinstances toGraphObserverimplementations viarun()andarun().
Builders¶
-
graphinate.builders.NetworkxBuilder- Generates a NetworkX Graph instance. -
graphinate.builders.D3Builder- Generates a D3 Graph instance (i.e. a Dict). -
graphinate.builders.GraphQLBuilder- Generates a Strawberry GraphQL Schema instance (supportsSchemaMode.DYNAMICandSchemaMode.STATIC, as well as context-injected graphs). -
graphinate.builders.MermaidBuilder- Generates a Mermaid Diagram