GraphTopology
data class GraphTopology(val nodes: List<String>, val edges: List<GraphEdge>, val dynamicRoutes: Set<String>, val subgraphs: Map<String, GraphTopology> = emptyMap())
The structure of a compiled graph: its nodes and the edges between them. Read it from CompiledGraph.topology to draw the graph or to check it in a test.
Properties
Link copied to clipboard
Link copied to clipboard
the structure of the graph that a node added with StateGraph.subgraph runs, by the name of that node. The node is in nodes and edges like any other.