Skip to content

BPMN Panel API / Panel Types / NodeTheme

Type Alias: NodeTheme

ts
type NodeTheme = {
[customNodeType: string]: 
  | SimpleNodeTheme
  | TaskNodeTheme
  | undefined;
  task?: TaskNodeTheme;
  startEvent?: SimpleNodeTheme;
  endEvent?: SimpleNodeTheme;
  exclusiveGateway?: SimpleNodeTheme;
  parallelGateway?: SimpleNodeTheme;
};

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

Declared node theme shape for all node types

The current panel renderer does not consume this configuration.

Indexable

ts
[customNodeType: string]: 
  | SimpleNodeTheme
  | TaskNodeTheme
  | undefined

Support for custom node types

Properties

PropertyTypeDescription

task?

TaskNodeTheme

Task nodes theme

startEvent?

SimpleNodeTheme

Start event nodes theme

endEvent?

SimpleNodeTheme

End event nodes theme

exclusiveGateway?

SimpleNodeTheme

Exclusive gateway (XOR) theme

parallelGateway?

SimpleNodeTheme

Parallel gateway (AND) theme