org.llm4s.agent.graph.GraphShape
See theGraphShape companion object
final case class GraphShape(entry: String, nodes: Vector[String], edges: Map[String, Vector[String]], staticJoins: Vector[StaticJoin], dynamicJoins: Map[String, String], resumes: Vector[String], keys: Vector[String])
A compiled graph's declared structure, as data: what a GraphSnapshot records of the graph that wrote it, so a restore can tell what changed since. nodes, resumes, keys and each static join's sources are sorted; edges holds each node's static successors in declaration order, and only nodes that have some; staticJoins is in declaration order, which is the order joins released in one superstep schedule their targets. CompiledGraph.restore says which differences keep a snapshot restorable.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article