Skip to main content

Signal To Index

Deprecated

This node is deprecated and kept only so existing projects keep working. It is not offered in the node picker for new use.

Deprecated: outputs the index of the most recently triggered numbered signal input.

Signal To Index accepts a numbered series of signal inputs and outputs the index of the one that fired most recently on index, firing signalTriggered on every trigger. It is deprecated and hidden from the node picker: the States node covers the same need — mapping several triggers to one of a set of values — with named states and per-state values instead of bare indices.

When to use it​

Do not use in new graphs — use States instead.

At a glance​

CategoryLogic
Type nameSignal To Index
Available inbrowser
SSR compatibilitysafe
Provided bynoodl-viewer-react
Behaviour specnot written yet

Outputs​

Values​

NameTypeDefaultDescription
indexNumber—Number of the signal input that last fired, counting from zero

Signals​

NameTypeDefaultDescription
signalTriggeredSignal—Fires when any signal input fires, once Index holds the number of the input that fired

Dynamic ports​

This node's port list changes at runtime (numbered-inputs); the tables above may be incomplete for a given instance.

Accepts an unbounded numbered series of inputs (see numberedInputs); ports are named "<base> <N>" counting from 0.

Ports at runtime​

Inputs are numbered ports named "input 0", "input 1", … counting from 0 (displayed as "Signal 0", "Signal 1"); each is edge-triggered, and a per-port "Start Index" selector sets the initial index. Deprecated — an authoring tool should not create this node.

States, Switch

Code export​

Does not export to React yet. A project that uses it exports with this node named in the export report.

Why: deliberately out of scope — the type is deprecated in the catalog, so nobody building today is offered one. A project that still holds one exports it as a named deferral, which is the right answer for a node its own editor has retired.

How export works shows what an export writes, with a worked example.

Generated

This page is generated from node-catalog-enriched.json, the node's spec in packages/nodegx-node-spec and the export ledger. Do not edit it by hand — run npm run docs:nodes to regenerate, and fix the source instead.