Appearance
BPMN Panel API / Panel Types
Panel Types
Description
TypeScript definitions for BPMN panel integration with @mes/bpmn package. Configure workflow graphs, toolbar items, and data fetching.
Root Configuration
| Type Alias | Description |
|---|---|
BPMN Panel configuration Uses
Example json |
Request Configuration
| Type Alias | Description |
|---|---|
Request to fetch the BPMN graph data. Example json |
BPMN Graph Configuration
| Name | Description |
|---|---|
Graph visualization configuration | |
BPMN node kind Defines the standard BPMN element types supported by See | |
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 | |
Configuration for displaying a node card. Defines how task nodes appear on the canvas. The card includes title, subtitle, optional icon, and field rows displaying data attributes. Field Layout System The
Conversion to @mes/bpmn Format This simplified configuration converts to Input (simplified): json Output (@mes/bpmn format): typescript Examples Single-column fields json Multi-column fields json Template interpolation json | |
Configuration for BPMN node display and editing operations. This type defines how backend entities are displayed and edited:
Key Concepts Separation from Toolbar:
Type System:
CRUD Operations Create: Configured via toolbar Update: Triggered when user double-clicks or selects "edit" on existing node
Delete: Triggered when user selects "delete" on existing node
Examples Basic node configuration json Node with BPMN type override json Node with editor for updates json | |
BPMN edge kind values Defines the standard BPMN element types supported by Currently only | |
BPMN node kind values Defines the standard BPMN element types supported by |
BPMN Graph > Toolbar Configuration
| Type Alias | Description |
|---|---|
Toolbar item identifier Unique identifier for the palette item. This is independent of:
Can be descriptive like "quick-task", "detailed-instruction", "connection-critical" | |
Resolves one persisted BPMN connector endpoint from a selection captured by a panel event. Tree and related-table selections use the same Example Contextual Link selected in a tree json | |
Resolves the contextual Link whose linked Object is represented by the visual BPMN endpoint. Unlike BpmnEventEdgeEndpoint, this strategy does not require the user to select the linked row. The BPMN panel requests the matching Link from the one current Object supplied to the graph request. Place this endpoint under Example Connector request with a contextual source json | |
Resolves one persisted BPMN connector endpoint. Use an event endpoint for a row explicitly selected by the user. Use a contextual-Link endpoint when the visual BPMN node itself identifies the Link to request from the current graph-request Object. The two strategies are mutually exclusive for one endpoint. | |
Base toolbar item configuration Represents a palette item that users can drag onto the canvas. Toolbar items are independent of node configurations - they define how to create new elements, while nodes define how to display existing elements. Key Concepts Separation of Concerns:
Type Distinction:
Use Cases Multiple creation flows for same backend type: json Different icons for same backend type: json | |
Action configuration for BPMN node creation Supports various action methods for creating BPMN nodes:
| |
Toolbar item - node or edge Can be specified as string (simple) or object (detailed). See Examples String shortcuts json Mixed configuration json | |
Graph visualization configuration |
BPMN Graph > Toolbar Configuration
| Type Alias | Description |
|---|---|
Toolbar item for creating BPMN edges
Key Concepts Separation of Concerns:
Backend Integration:
Examples Standard connection json Critical connection with custom data json |
Type Aliases
| Type Alias | Description |
|---|---|
Declared avatar styling shape for task nodes The current panel renderer does not consume this configuration. | |
Declared field styling shape for task cards The current panel renderer does not consume this configuration. | |
Declared basic node theme shape with background and border The current panel renderer does not consume this configuration. | |
Declared task node theme shape Extends | |
Declared edge/connector styling shape The current panel renderer does not consume this configuration. | |
Declared node theme shape for all node types The current panel renderer does not consume this configuration. | |
Declared selection theme shape The current panel renderer does not consume this configuration. | |
Declared label theme shape The current panel renderer does not consume this configuration. | |
Declared edge-theme shape keyed by edge kind. The current panel renderer ignores | |
Declared theme configuration shape for the BPMN widget. The type remains part of the accepted panel schema, but the current panel renderer ignores | |
‐ |