Skip to content

BPMN Panel API / Panel Types / NodeCardField

Type Alias: NodeCardField

ts
type NodeCardField = {
  key: string;
  label: string;
};

Defined in: features/panels/variants/bpmn/types/panel/graph/node/index.ts:43

Field definition for a node card.

Represents a single data field to display on the card. Each field has a key (referencing the data attribute) and a label (human-readable caption).

Example

json
{ "key": "status", "label": "Status" }

Properties

PropertyTypeDescription

key

string

Unique identifier for the field.

This key references the data attribute in the node's data object. Used to extract the value from backend response attributes.

label

string

Display label for the field.

Human-readable caption shown alongside the field value on the card.