What are Architecture Diagrams?
Architecture diagrams help you visualize relationships between services and resources in your data infrastructure. They’re particularly useful for documenting cloud deployments, data pipelines, and system integrations. You can group related services together and show how different components connect and interact.Creating Your First Architecture Diagram
- Launch DinoAI: From Code IDE, access DinoAI to start creating diagrams.
- Use a Simple Prompt: Tell DinoAI what kind of ERD you want to create. For example:
- Get Your Diagram: DinoAI will generate a complete
.mmdfile with proper Mermaid syntax. - Preview Your Work: Click the eye icon (👁️) to preview your diagram in real-time as you edit.
- Iterate and Refine: Modify the generated
.mmdfile directly, or ask DinoAI to make specific changes.
Reusable Architecture Diagram prompts for you and your teamYou can create custom, standardized .dinoprompts for Mermaid’s Architecture Diagrams that ensure consistency across your data team. See step-by-step guide.
Diagram Syntax Guide
Basic Components
- Groups: Container for related services
- Services: Individual components
- Edges: Connections between services
Building Blocks
Groups Create a group with: Add services to a group usingin:
- cloud
- database
- disk
- internet
- server
- Direction options: T(top), B(bottom), L(left), R(right)
- Arrow types: —>, —, <—
Data Team Examples
Data Warehouse Architecture
ETL Pipeline
Best Practices
- Group related services logically
- Use clear, descriptive labels
- Keep connections simple and readable
- Use consistent naming conventions
- Add appropriate icons for services
Additional ResourcesFor more syntax options and advanced features, visit the official Mermaid documentation