API

Class FlowGraphMultiGateBlock

A block that has an input flow and routes it to any potential output flows, randomly or sequentially

Hierarchy (View Summary)

Index

the configuration of the block

dataInputs: FlowGraphDataConnection<any>[]

The data inputs of the block.

dataOutputs: FlowGraphDataConnection<any>[]

The data outputs of the block.

An output connection that can be used to signal an error, if the block defines it.

Input connection: The input signal of the block.

lastIndex: FlowGraphDataConnection<FlowGraphInteger>

Output connection: The index of the current output flow.

metadata: any

Metadata that can be used by the block.

name: string

The name of the block.

outputSignals: FlowGraphSignalConnection[] = []

Output connections: The output signals.

priority: number = 0

The priority of the block. Higher priority blocks will be executed first. Note that priority cannot be change AFTER the block was added as sorting happens when the block is added to the execution queue.

Input connection: Resets the gate.

Input connections that activate the block.

signalOutputs: FlowGraphSignalConnection[]

Output connections that can activate downstream blocks.

uniqueId: string = ...

A randomly generated GUID for each block.