Skip to main content

Constructors

Methods

Interfaces


Constructors

constructor

new SequentialGraphBuilder(opts: SequentialGraphBuilderProps): SequentialGraphBuilder
Creates a new instance of SequentialGraphBuilder and builds the sequential graph.

Parameters

opts
SequentialGraphBuilderProps
required
The configuration options for the sequential graph builder.

Returns

SequentialGraphBuilder

Methods

addSequentialNode

addSequentialNode(node: AbstractNode): this
Adds a node to the graph, links it from the previous end node (if any), and sets the passed node as the new end node.

Parameters

node
AbstractNode
required
The node to add to the graph.

Returns

this

Interfaces

SequentialGraphBuilderProps

Configuration properties for the SequentialGraphBuilder.

Properties

nodes: AbstractNode[] The list of nodes to be connected sequentially.