API

Interface IFlowGraphSwitchBlockConfiguration<T>

Configuration for a switch block.

interface IFlowGraphSwitchBlockConfiguration<T> {
    cases: T[];
    name?: string;
    [extraPropertyKey: string]: any;
}

Type Parameters

  • T

Hierarchy (View Summary)

Indexable

  • [extraPropertyKey: string]: any
Index
cases: T[]

The possible values for the selection.

name?: string

The name of the block.