# LikeC4 Architecture Documentation Integration This directory contains the LikeC4 architecture models and views that power the interactive architecture diagrams throughout this documentation. ## What is LikeC4? LikeC4 is a tool for creating interactive C4 architecture diagrams as code. It generates web components that can be embedded directly into web pages, providing an interactive way to explore complex system architectures. ## Directory Structure ``` resources/likec4/ ├── models/ # C4 model definitions (.c4 files) │ ├── components/ # Component-level models │ ├── containers/ # Container-level models │ ├── context/ # System context models │ └── code/ # Code-level workflow models ├── views/ # View definitions │ ├── deployment/ # Deployment architecture views │ ├── edp/ # EDP-specific views │ ├── high-level-concept/ # Conceptual views │ └── dynamic/ # Dynamic process views ├── deployment/ # Deployment-specific models ├── doc/ # Documentation and screenshots ├── package.json # Node.js dependencies └── README.md # This file ``` ## Generating Web Components To generate the web component that Hugo can use: ```bash cd resources/likec4 # Install dependencies (first time only) npm install # Generate the web component npx likec4 codegen webcomponent \ --webcomponent-prefix likec4 \ --outfile ../../static/js/likec4-webcomponent.js ``` This creates `static/js/likec4-webcomponent.js` which contains all your architecture views as an interactive web component. ## Using in Hugo Content Add interactive diagrams to any Markdown page: ```markdown ## Architecture Overview