BMAD-METHOD/expansion-packs/bmad-c4-architecture/tasks/export-c4-diagrams.md

1.4 KiB

Export C4 Diagrams

Purpose

Export C4 diagrams in various formats for documentation, presentation, or sharing.

Prerequisites

  • Complete C4 model
  • Target export formats
  • Export requirements

Process

1. Prepare Diagrams

  • Ensure all views are properly configured
  • Validate diagram layouts
  • Apply consistent styling
  • Check for completeness

2. Select Export Formats

  • PNG/JPEG for images
  • SVG for scalable graphics
  • PDF for documentation
  • Mermaid for text-based diagrams

3. Configure Export Settings

  • Set image resolution
  • Choose color schemes
  • Configure layout options
  • Set file naming conventions

4. Generate Exports

  • Create image files
  • Generate documentation
  • Package for distribution
  • Validate output quality

5. Organize Output

  • Create organized folder structure
  • Name files descriptively
  • Include metadata
  • Provide usage instructions

Export Formats

  • PNG: High-quality images for presentations
  • SVG: Scalable vector graphics for web
  • PDF: Documentation-ready format
  • Mermaid: Text-based diagram format
  • DSL: Source format for Structurizr

Output

  • Exported diagram files
  • Documentation package
  • Usage instructions
  • File organization guide

Elicitation Questions

  1. What formats are needed for export?
  2. What resolution or quality settings are required?
  3. How should the files be organized?
  4. Are there any specific naming conventions?
  5. What metadata should be included?