How robertweinmeister/dokuwiki-mermaid works
Main Components
a) Core Plugin Components:
• Syntax Parser (syntax.php)
• Renderer (renderer.php)
• Action Handler (action.php)
• Configuration Manager (conf/ directory)
b) External Dependencies:
• DokuWiki Core
c) User Interface Elements:
• Export Controls
• Lock/Unlock Controls
Component Relationships
• Input Flow: DokuWiki Content → Syntax Parser → Renderer
• Configuration Flow: Configuration Manager → Renderer
• Output Flow: Renderer → Browser Display
• Interactive Elements: Action Handler ↔ User Controls
Specific Implementation Details
• Blue rectangles for core plugin components
• Green rectangles for DokuWiki integration points
• Yellow diamonds for user interaction points
• Orange rectangles for configuration elements
Key Processes to Highlight
a) Standard Rendering Process:
b) Server-side Conversion Process:
• Wiki Text → Syntax Parser → Server Renderer → Stored SVG
Important Elements
• Configuration options (version selection, themes)
• Integration points with DokuWiki's core
• Export functionality flow
• Lock/Unlock mechanism for server-side conversion
Architectural Patterns to Emphasize
• Plugin architecture pattern
• Event-driven interaction model
• Transform pipeline (text → parsed → rendered)
[DokuWiki Core] ←→ [Plugin Manager]
• ↓
• ↙ ↓ ↘
[Parser] [Renderer] [Action Handler]
• ↓ ↓ ↓
Additional Considerations: