builder

fun builder(name: String? = null): AgentSubgraphBuilder<*>(source)

Creates and returns a new AgentSubgraphBuilder for constructing a subgraph with the specified name in the context of the current graph strategy builder.

Return

A new instance of AgentSubgraphBuilder for further configuration of the subgraph.

Parameters

name

The name of the subgraph to create, or null if unspecified.