Capcat Visual Documentation Index
Overview
This index catalogs all Mermaid diagrams in Capcat's documentation. All diagrams are rendered using Mermaid syntax and can be viewed in any Markdown viewer that supports Mermaid.
System Architecture Diagrams
Location: docs/diagrams/
High-level system overview showing the main components and their interactions.
Core class relationships including:
Source System Classes (BaseSource, ConfigDrivenSource, CustomSource)
Media Processing Classes (UnifiedMediaProcessor, ImageProcessor)
HTML Generation Classes (BaseHTMLGenerator, ArticleHTMLGenerator)
Configuration Classes (ConfigManager, SourceConfig)
Article processing data flow from user input to final output.
Detailed media and content processing workflow.
Source discovery, registration, and management architecture.
Deployment architecture and infrastructure setup.
Development Diagrams
Location: docs/development/diagrams/
Comprehensive architecture analysis including:
Diagrams Included (14 diagrams):
Complete System Architecture - All 5 layers with components
Data Flow Architecture - End-to-end article fetching flow
Hybrid Source System - Config-driven vs Custom sources
Design Patterns Mind Map - Factory, Registry, Strategy, Observer, Singleton
Processing Pipeline Sequence - Detailed component interactions
Error Handling Hierarchy - Complete exception tree
Performance Optimization Strategy - 4 optimization techniques
Module Dependencies - External and internal dependencies
Configuration System - Priority levels and merge logic
Security Architecture - Input validation to safe output
Component Communication - Inter-component data flow
Scalability Architecture - Current and future scale
Architecture Evolution Timeline - 2020-2025 progression
Technology Stack - Complete tech stack visualization
Key Insights
5-layer architecture (UI, Orchestration, Source, Processing, Output)
Hybrid source system (config-driven + custom)
50-70% performance improvement through optimization
17 sources currently supported
Diagram Statistics
Total Diagram Documents 7
Total Individual Diagrams 20
System Architecture → 6
Development Deep Dive → 1
Diagram Types Used
Flow Charts
Best For Processes, decision trees, workflows
Syntax flowchart TD or
graph TD
Sequence Diagrams
Best For Component interactions, time-based flows
Syntax sequenceDiagram
Class Diagrams
Best For Object-oriented relationships
Syntax classDiagram
Mind Maps
Best For Exploring relationships, hierarchical concepts
Syntax mindmap
State Diagrams
Best For State transitions, workflow states
Syntax stateDiagram-v2
Timeline Diagrams
Best For Historical progression, stages over time
Syntax timeline
Gantt Charts
Best For Time comparisons, project timelines
Syntax gantt
Tools and Resources
Mermaid Resources
Official Docs https://mermaid.js.org/
Live Editor https://mermaid.live/
VS Code Extension Markdown Preview Mermaid Support
GitHub Support Native Mermaid rendering
How to Use These Diagrams
GitHub/GitLab Diagrams render automatically in Markdown viewers
VS Code Install Mermaid extension for preview
Export Use Mermaid Live Editor to export as PNG/SVG
Documentation Embed diagram blocks directly in Markdown
Updating Diagrams
When to Update
Architecture Changes Update system diagrams
New Features Update user journey diagrams
Process Changes Update onboarding diagrams
Metrics Changes Update dashboard diagrams
How to Update
Edit source .md file in diagrams folder
Modify Mermaid code block
Test rendering in VS Code or Mermaid Live Editor
Commit changes with descriptive message
Regenerate HTML: python3 convert_docs_to_html.py
Last Updated 2025-11-26
Total Diagrams 7 documents containing 20 diagrams
Maintained By Development Team
Next Chapter
→
API Reference