teff.observability.topology¶
teff.observability.topology
¶
Graph topology snapshot — the node/edge shape for the dashboard.
Functions:
| Name | Description |
|---|---|
topology_from_graph |
Capture |
topology_from_graph
¶
topology_from_graph(graph)
Capture {nodes, edges} from a compiled :class:~teff.graph.Graph.
Each node is {"id", "type"}; each edge is {"source", "target",
"condition"} (condition omitted when unconditional).
Source code in teff/observability/topology.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | |