GraphStrategyBuilderWithInput

class GraphStrategyBuilderWithInput<Input : Any>(strategyName: String, inputClass: KClass<Input>)(source)

A builder class for constructing graph strategies that start with a specific input type.

This class is used to define the input type of a graph and allows chaining to specify the output type, enabling the creation of a strongly-typed graph strategy.

Parameters

strategyName

The name of the strategy being built.

Type Parameters

Input

The type of the input that the graph will utilize.

Constructors

Link copied to clipboard
constructor(strategyName: String, inputClass: KClass<Input>)

Functions

Link copied to clipboard

Specifies the output type for the graph strategy and returns a builder configured with the input and output types.