Appearance
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
| undefinedSupport for custom node types
Properties
| Property | Type | Description |
|---|---|---|
Task nodes theme | ||
Start event nodes theme | ||
End event nodes theme | ||
Exclusive gateway (XOR) theme | ||
Parallel gateway (AND) theme |