API

Interface FgBlock

A node instance — PURE DATA describing topology + config only.

interface FgBlock {
    config?: Readonly<Record<string, unknown>>;
    dataIn: readonly FgDataSocket[];
    dataOut: readonly FgDataSocket[];
    event?: FgEventType;
    id: string;
    signalIn: readonly FgSignalSocket[];
    signalOut: readonly FgSignalSocket[];
    type: string;
}
Index
config?: Readonly<Record<string, unknown>>
dataIn: readonly FgDataSocket[]
dataOut: readonly FgDataSocket[]
event?: FgEventType

Declared by event blocks; which bus event activates them.

id: string
signalIn: readonly FgSignalSocket[]
signalOut: readonly FgSignalSocket[]
type: string

FgBlockType value or a "module/Name" custom identifier.