ADK for TypeScript: API Reference
    Preparing search index...

    Class Graph

    A compiled workflow graph. Nodes are inferred (deduped by identity) from the edges.

    Mirrors google/adk-python workflow/_graph.py::Graph.

    Constructors

    Properties

    edges: Edge[]
    nodes: BaseNode<unknown, unknown>[]

    Accessors

    Methods

    • Determines the next nodes to transition to PENDING based on the route(s) emitted by a completed node. Ported from Python get_next_pending_nodes.

      Logs at debug when the node emitted a route, has conditional outgoing edges, and none of them (nor a DEFAULT_ROUTE edge) matched — the branch stops there, which is easy to mistake for a bug. Behaviour is unchanged.

      Parameters

      Returns string[]