Skip to content

BPMN Panel API / Panel Types / ThemeConfig

Type Alias: ThemeConfig

ts
type ThemeConfig = {
  node?: NodeTheme;
  edge?: EdgeTheme;
  selection?: SelectionTheme;
  labels?: LabelsTheme;
};

Defined in: features/panels/variants/bpmn/types/panel/graph/theme/index.ts:156

Declared theme configuration shape for the BPMN widget.

The type remains part of the accepted panel schema, but the current panel renderer ignores graph.theme and supplies its own default theme. There is therefore no supported runtime configuration example for these fields.

Properties

PropertyTypeDescription

node?

NodeTheme

Declared node theme shape. Ignored by the current renderer.

edge?

EdgeTheme

Declared edge theme shape. Ignored by the current renderer.

selection?

SelectionTheme

Declared selection theme shape. Ignored by the current renderer.

labels?

LabelsTheme

Declared label theme shape. Ignored by the current renderer.