How bpmn-io/bpmn-js-properties-panel works
Main Components
Core Components:
• BPMN Properties Panel (Core)
• Properties Providers
• BPMN Provider
• Camunda Platform Provider
• Zeebe Provider
• Context System
• Rendering System
• Command System
Integration Points:
• bpmn-js Integration
• Moddle Extensions Interface
• External Styling System
Blue: Core Components
Green: Integration Points
Orange: Extension Points
Gray: External Dependencies
[Component Layout]
• [External Styling]
• ↓
[bpmn-js] ←→ [BPMN Properties Panel Core] ←→ [Moddle Extensions]
• ↓
• [Context System]
• ↓
• [Command Handler]
• ↓
• ┌─────────┴──────────┐
• ↓ ↓
[Rendering System] [Properties Providers]
• ↓
• ┌────┬────┬────┐
• ↓ ↓ ↓ ↓
• [BPMN] [C7] [C8] [Custom]
Key Relationships to Highlight
a) Core Integration:
• Bidirectional connection between bpmn-js and the properties panel
• How the context system feeds into providers
b) Provider System:
• Hierarchical relationship of different providers
• Extension points for custom providers
c) Data Flow:
• How properties flow from moddle extensions through the system
• Command/event flow for property updates
Important Implementation Details
Technical notes:
• Provider Registration System (priority-based)
• Dynamic Attachment/Detachment capability
• Moddle Extension Integration
• Event/Command handling system