API

Class FlowGraphBlock

A block in a flow graph. The most basic form of a block has inputs and outputs that contain data.

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.

metadata: any

Metadata that can be used by the block.

name: string

The name of the block.

uniqueId: string = ...

A randomly generated GUID for each block.

  • Serializes this block

    Parameters

    • serializationObject: any = {}

      the object to serialize to

    • _valueSerializeFunction: (key: string, value: any, serializationObject: any) => any = defaultValueSerializationFunction

      a function that serializes a specific value

    Returns void